From 73e28cd806787e04f0c6cbb04108f1b54d3f5b41 Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Wed, 24 Dec 2025 09:30:46 +0100 Subject: [PATCH] fix: correct view paths in all dashboard module menus MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tous les modules dashboard pointaient vers des chemins incorrects: - crowdsec/overview → crowdsec-dashboard/overview - netdata/dashboard → netdata-dashboard/dashboard - netifyd/overview → netifyd-dashboard/overview - wireguard/overview → wireguard-dashboard/overview Les fichiers JS sont dans {module}-dashboard/ mais les menus pointaient vers {module}/, causant des erreurs HTTP 404. Modules corrigés: - luci-app-crowdsec-dashboard (5 vues) - luci-app-netdata-dashboard (2 vues) - luci-app-netifyd-dashboard (4 vues) - luci-app-wireguard-dashboard (4 vues) Fixes: NetworkError HTTP 404 pour tous les dashboards --- .../share/luci/menu.d/luci-app-crowdsec-dashboard.json | 10 +++++----- .../share/luci/menu.d/luci-app-netdata-dashboard.json | 4 ++-- .../share/luci/menu.d/luci-app-netifyd-dashboard.json | 8 ++++---- .../luci/menu.d/luci-app-wireguard-dashboard.json | 8 ++++---- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/luci-app-crowdsec-dashboard/root/usr/share/luci/menu.d/luci-app-crowdsec-dashboard.json b/luci-app-crowdsec-dashboard/root/usr/share/luci/menu.d/luci-app-crowdsec-dashboard.json index 2b3f9dba..a8cef3d7 100644 --- a/luci-app-crowdsec-dashboard/root/usr/share/luci/menu.d/luci-app-crowdsec-dashboard.json +++ b/luci-app-crowdsec-dashboard/root/usr/share/luci/menu.d/luci-app-crowdsec-dashboard.json @@ -15,7 +15,7 @@ "order": 10, "action": { "type": "view", - "path": "crowdsec/overview" + "path": "crowdsec-dashboard/overview" } }, "admin/secubox/security/crowdsec/decisions": { @@ -23,7 +23,7 @@ "order": 20, "action": { "type": "view", - "path": "crowdsec/decisions" + "path": "crowdsec-dashboard/decisions" } }, "admin/secubox/security/crowdsec/alerts": { @@ -31,7 +31,7 @@ "order": 30, "action": { "type": "view", - "path": "crowdsec/alerts" + "path": "crowdsec-dashboard/alerts" } }, "admin/secubox/security/crowdsec/bouncers": { @@ -39,7 +39,7 @@ "order": 40, "action": { "type": "view", - "path": "crowdsec/bouncers" + "path": "crowdsec-dashboard/bouncers" } }, "admin/secubox/security/crowdsec/settings": { @@ -47,7 +47,7 @@ "order": 90, "action": { "type": "view", - "path": "crowdsec/settings" + "path": "crowdsec-dashboard/settings" } } } \ No newline at end of file diff --git a/luci-app-netdata-dashboard/root/usr/share/luci/menu.d/luci-app-netdata-dashboard.json b/luci-app-netdata-dashboard/root/usr/share/luci/menu.d/luci-app-netdata-dashboard.json index b95693a7..c0705a40 100644 --- a/luci-app-netdata-dashboard/root/usr/share/luci/menu.d/luci-app-netdata-dashboard.json +++ b/luci-app-netdata-dashboard/root/usr/share/luci/menu.d/luci-app-netdata-dashboard.json @@ -15,7 +15,7 @@ "order": 10, "action": { "type": "view", - "path": "netdata/dashboard" + "path": "netdata-dashboard/dashboard" } }, "admin/secubox/monitoring/netdata/settings": { @@ -23,7 +23,7 @@ "order": 90, "action": { "type": "view", - "path": "netdata/settings" + "path": "netdata-dashboard/settings" } } } \ No newline at end of file diff --git a/luci-app-netifyd-dashboard/root/usr/share/luci/menu.d/luci-app-netifyd-dashboard.json b/luci-app-netifyd-dashboard/root/usr/share/luci/menu.d/luci-app-netifyd-dashboard.json index fffc21f2..8f08d275 100644 --- a/luci-app-netifyd-dashboard/root/usr/share/luci/menu.d/luci-app-netifyd-dashboard.json +++ b/luci-app-netifyd-dashboard/root/usr/share/luci/menu.d/luci-app-netifyd-dashboard.json @@ -15,7 +15,7 @@ "order": 10, "action": { "type": "view", - "path": "netifyd/overview" + "path": "netifyd-dashboard/overview" } }, "admin/secubox/security/netifyd/applications": { @@ -23,7 +23,7 @@ "order": 20, "action": { "type": "view", - "path": "netifyd/applications" + "path": "netifyd-dashboard/applications" } }, "admin/secubox/security/netifyd/flows": { @@ -31,7 +31,7 @@ "order": 30, "action": { "type": "view", - "path": "netifyd/flows" + "path": "netifyd-dashboard/flows" } }, "admin/secubox/security/netifyd/settings": { @@ -39,7 +39,7 @@ "order": 90, "action": { "type": "view", - "path": "netifyd/settings" + "path": "netifyd-dashboard/settings" } } } \ No newline at end of file diff --git a/luci-app-wireguard-dashboard/root/usr/share/luci/menu.d/luci-app-wireguard-dashboard.json b/luci-app-wireguard-dashboard/root/usr/share/luci/menu.d/luci-app-wireguard-dashboard.json index 3efec3a4..1baca41a 100644 --- a/luci-app-wireguard-dashboard/root/usr/share/luci/menu.d/luci-app-wireguard-dashboard.json +++ b/luci-app-wireguard-dashboard/root/usr/share/luci/menu.d/luci-app-wireguard-dashboard.json @@ -15,7 +15,7 @@ "order": 10, "action": { "type": "view", - "path": "wireguard/overview" + "path": "wireguard-dashboard/overview" } }, "admin/secubox/network/wireguard/peers": { @@ -23,7 +23,7 @@ "order": 20, "action": { "type": "view", - "path": "wireguard/peers" + "path": "wireguard-dashboard/peers" } }, "admin/secubox/network/wireguard/qrcodes": { @@ -31,7 +31,7 @@ "order": 30, "action": { "type": "view", - "path": "wireguard/qrcodes" + "path": "wireguard-dashboard/qrcodes" } }, "admin/secubox/network/wireguard/settings": { @@ -39,7 +39,7 @@ "order": 90, "action": { "type": "view", - "path": "wireguard/settings" + "path": "wireguard-dashboard/settings" } } } \ No newline at end of file