From 55881249e2edd60f9be7c5f044628e839a4feea6 Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Mon, 18 Nov 2024 22:45:48 +1100 Subject: [PATCH] Reverse proxy fix #779 --- front/devices.php | 2 +- front/php/templates/header.php | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/front/devices.php b/front/devices.php index 907464d9..e3d565b0 100755 --- a/front/devices.php +++ b/front/devices.php @@ -286,7 +286,7 @@ function processDeviceTotals(devicesData) { (getSetting('UI_shown_cards') == "" || getSetting('UI_shown_cards').includes(filter.status)) ) { dataArray.push({ - onclickEvent: `forceLoadUrl('/devices.php#${filter.status}')`, + onclickEvent: `forceLoadUrl('devices.php#${filter.status}')`, color: filter.color, title: count, label: filter.label, diff --git a/front/php/templates/header.php b/front/php/templates/header.php index 8e305449..e3c32b80 100755 --- a/front/php/templates/header.php +++ b/front/php/templates/header.php @@ -255,25 +255,25 @@