feat: added a relay for gatus statuses and changes the url it uses

This commit is contained in:
Strix 2023-10-16 01:36:01 +02:00
parent 39134b5229
commit 43d05fadc4
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
8 changed files with 1910 additions and 4 deletions

View file

@ -9,7 +9,7 @@ const serviceHolderDiv = document.querySelector('#service-holder');
async function update() {
serviceHolderDiv.innerHTML = 'Loading...';
let fetchResult = await (await fetch('https://s.ixvd.net/api/v1/endpoints/statuses')).json()
let fetchResult = await (await fetch('/relay/gatus')).json()
serviceHolderDiv.innerHTML = '';
fetchResult.forEach(s => {