From 415394fce208ca7872f56a1e6bfc7a7e3d5a0349 Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Sun, 1 Jun 2025 14:54:49 +1000 Subject: [PATCH] reverse proxy fixes --- front/appEventsCore.php | 2 +- front/deviceDetailsEdit.php | 2 +- front/multiEditCore.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/front/appEventsCore.php b/front/appEventsCore.php index 729ec9ce..14316240 100755 --- a/front/appEventsCore.php +++ b/front/appEventsCore.php @@ -19,7 +19,7 @@ showSpinner() $(document).ready(function() { // Load JSON data from the provided URL - $.getJSON('/php/server/query_json.php?file=table_appevents.json', function(data) { + $.getJSON('php/server/query_json.php?file=table_appevents.json', function(data) { // Process the JSON data and generate UI dynamically processData(data) diff --git a/front/deviceDetailsEdit.php b/front/deviceDetailsEdit.php index 12f598d4..26680816 100755 --- a/front/deviceDetailsEdit.php +++ b/front/deviceDetailsEdit.php @@ -63,7 +63,7 @@ // some race condition, need to implement delay setTimeout(() => { - $.get('/php/server/query_json.php', { file: 'table_settings.json', nocache: Date.now() }, function(res) { + $.get('php/server/query_json.php', { file: 'table_settings.json', nocache: Date.now() }, function(res) { settingsData = res["data"]; diff --git a/front/multiEditCore.php b/front/multiEditCore.php index dbada439..f5eb327f 100755 --- a/front/multiEditCore.php +++ b/front/multiEditCore.php @@ -77,7 +77,7 @@ // some race condition, need to implement delay setTimeout(() => { - $.get('/php/server/query_json.php', { file: 'table_settings.json', nocache: Date.now() }, function(res) { + $.get('php/server/query_json.php', { file: 'table_settings.json', nocache: Date.now() }, function(res) { settingsData = res["data"];