use relative paths for reverse proxy

This commit is contained in:
johnwang16
2025-05-31 14:19:57 -04:00
parent 5dcfb37c4b
commit 692070de21
4 changed files with 8 additions and 8 deletions

View File

@@ -105,7 +105,7 @@
// -------------------------------------------------------------
// Updates the backend application state/status in the header
function updateState(){
$.get('/php/server/query_json.php', { file: 'app_state.json', nocache: Date.now() }, function(appState) {
$.get('php/server/query_json.php', { file: 'app_state.json', nocache: Date.now() }, function(appState) {
document.getElementById('state').innerHTML = appState["currentState"].replaceAll('"', '');