update to new server

This commit is contained in:
2026-04-09 16:55:12 -05:00
committed by GitHub
parent e2733d9d24
commit b87c3f8e94
+1 -1
View File
@@ -5,7 +5,7 @@
const page = document.body.dataset.page;
const isFileProtocol = window.location.protocol === 'file:';
const TESTING_MODE = false;
const liveServerBase = TESTING_MODE ? 'http://127.0.0.1:8090/fedl' : 'https://raspberrypi-1.tail46eacb.ts.net/fedl';
const liveServerBase = TESTING_MODE ? 'http://127.0.0.1:8090/fedl' : 'https://server.fedl.site/fedl';
const canUseLiveServer = !isFileProtocol || !!liveServerBase;
const liveApiUrl = `${liveServerBase}/api/list`;
const liveRunsUrl = `${liveServerBase}/api/runs`;