diff --git a/front/js/handle_version.js b/front/js/handle_version.js
index 07e1f7f2..01b3eb60 100755
--- a/front/js/handle_version.js
+++ b/front/js/handle_version.js
@@ -33,7 +33,7 @@ function versionUpdateUI(){
// Checks if a new version is available via the global app_state.json
function checkIfNewVersionAvailable()
{
- $.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) {
// console.log(appState["isNewVersionChecked"])
// console.log(appState["isNewVersion"])
@@ -48,4 +48,4 @@ function checkIfNewVersionAvailable()
}
// handle the dispaly of the NEW icon
-checkIfNewVersionAvailable()
\ No newline at end of file
+checkIfNewVersionAvailable()
diff --git a/front/php/components/graph_online_history.php b/front/php/components/graph_online_history.php
index cc600976..2f48988a 100755
--- a/front/php/components/graph_online_history.php
+++ b/front/php/components/graph_online_history.php
@@ -18,7 +18,7 @@
function initOnlineHistoryGraph() {
- $.get('/php/server/query_json.php', { file: 'table_online_history.json', nocache: Date.now() }, function(res) {
+ $.get('php/server/query_json.php', { file: 'table_online_history.json', nocache: Date.now() }, function(res) {
// Extracting data from the JSON response
var timeStamps = [];
var onlineCounts = [];
@@ -53,4 +53,4 @@ function initOnlineHistoryGraph() {
-
\ No newline at end of file
+
diff --git a/front/php/templates/header.php b/front/php/templates/header.php
index 6a79fa86..184de9a3 100755
--- a/front/php/templates/header.php
+++ b/front/php/templates/header.php
@@ -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('"', '');
diff --git a/front/settings.php b/front/settings.php
index f29baa88..9784d701 100755
--- a/front/settings.php
+++ b/front/settings.php
@@ -206,7 +206,7 @@ $settingsJSON_DB = json_encode($settings, JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX
}, 3000);
} else
{
- $.get('/php/server/query_json.php', { file: 'plugins.json', nocache: Date.now() }, function(res) {
+ $.get('php/server/query_json.php', { file: 'plugins.json', nocache: Date.now() }, function(res) {
pluginsData = res["data"];
@@ -550,7 +550,7 @@ $settingsJSON_DB = json_encode($settings, JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX
// collect values for each of the different input form controls
// get settings to determine setting type to store values appropriately
- $.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) {
// loop through the settings definitions from the json
res["data"].forEach(set => {
@@ -740,7 +740,7 @@ $settingsJSON_DB = json_encode($settings, JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX
} else
{
// check if config file has been updated
- $.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) {
console.log("Settings: Got app_state.json");