From e9dbe793e237a2f27262c4d98c9972513656af0a Mon Sep 17 00:00:00 2001 From: Deploymentcenter Bot Date: Wed, 5 Aug 2026 23:09:15 +0200 Subject: [PATCH] Fix edit monitor modal JS error by restoring monEditType and adding null-safe setVal, and fix SVG icons 404 with root .htaccess rewrite rule for /assets/ --- .htaccess | 3 +++ public/index.php | 45 ++++++++++++++++++++++++++++++++------------- 2 files changed, 35 insertions(+), 13 deletions(-) diff --git a/.htaccess b/.htaccess index 2ed72c9..e087bb5 100644 --- a/.htaccess +++ b/.htaccess @@ -1,6 +1,9 @@ RewriteEngine On + # Route /assets/ requests to public/assets/ + RewriteRule ^assets/(.*)$ public/assets/$1 [L,QSA] + # Module API routing RewriteRule ^api/license/v1(?:/(.*))?$ public/api/license/v1/index.php [L,QSA] RewriteRule ^api/watchdog/v1(?:/(.*))?$ public/api/watchdog/v1/index.php [L,QSA] diff --git a/public/index.php b/public/index.php index 127e8cf..105fb54 100644 --- a/public/index.php +++ b/public/index.php @@ -981,6 +981,16 @@ $baseUrl = $protocol . '://' . $host; +
+ + +
+