From fd9695c7434cc6af763c9ebaa7bf23533ebdedc5 Mon Sep 17 00:00:00 2001 From: "Carlos V." <76731844+cvc90@users.noreply.github.com> Date: Thu, 20 Mar 2025 17:14:40 +0100 Subject: [PATCH] Update devices.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated “absolute” URLs to “relative” URLs for correct operation through proxys. --- front/devices.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/front/devices.php b/front/devices.php index 2f8c7123..c952eba2 100755 --- a/front/devices.php +++ b/front/devices.php @@ -218,7 +218,7 @@ function getDevicesTotals() { // Attempt to fetch data $.ajax({ - url: '/php/server/query_json.php', + url: 'php/server/query_json.php', type: "GET", dataType: "json", data: { @@ -336,7 +336,7 @@ let columnFilters = []; function initFilters() { // Attempt to fetch data $.ajax({ - url: '/php/server/query_json.php', + url: 'php/server/query_json.php', type: "GET", dataType: "json", data: { @@ -987,7 +987,7 @@ function handleLoadingDialog(needsReload = false) { // console.log(`needsReload: ${needsReload}`); - $.get('/php/server/query_logs.php?file=execution_queue.log&nocache=' + Date.now(), function(data) { + $.get('php/server/query_logs.php?file=execution_queue.log&nocache=' + Date.now(), function(data) { if(data.includes("update_api|devices")) {