fix: correct view paths in all dashboard module menus

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
This commit is contained in:
CyberMind-FR 2025-12-24 09:30:46 +01:00
parent f83203de60
commit 73e28cd806
4 changed files with 15 additions and 15 deletions

View File

@ -15,7 +15,7 @@
"order": 10, "order": 10,
"action": { "action": {
"type": "view", "type": "view",
"path": "crowdsec/overview" "path": "crowdsec-dashboard/overview"
} }
}, },
"admin/secubox/security/crowdsec/decisions": { "admin/secubox/security/crowdsec/decisions": {
@ -23,7 +23,7 @@
"order": 20, "order": 20,
"action": { "action": {
"type": "view", "type": "view",
"path": "crowdsec/decisions" "path": "crowdsec-dashboard/decisions"
} }
}, },
"admin/secubox/security/crowdsec/alerts": { "admin/secubox/security/crowdsec/alerts": {
@ -31,7 +31,7 @@
"order": 30, "order": 30,
"action": { "action": {
"type": "view", "type": "view",
"path": "crowdsec/alerts" "path": "crowdsec-dashboard/alerts"
} }
}, },
"admin/secubox/security/crowdsec/bouncers": { "admin/secubox/security/crowdsec/bouncers": {
@ -39,7 +39,7 @@
"order": 40, "order": 40,
"action": { "action": {
"type": "view", "type": "view",
"path": "crowdsec/bouncers" "path": "crowdsec-dashboard/bouncers"
} }
}, },
"admin/secubox/security/crowdsec/settings": { "admin/secubox/security/crowdsec/settings": {
@ -47,7 +47,7 @@
"order": 90, "order": 90,
"action": { "action": {
"type": "view", "type": "view",
"path": "crowdsec/settings" "path": "crowdsec-dashboard/settings"
} }
} }
} }

View File

@ -15,7 +15,7 @@
"order": 10, "order": 10,
"action": { "action": {
"type": "view", "type": "view",
"path": "netdata/dashboard" "path": "netdata-dashboard/dashboard"
} }
}, },
"admin/secubox/monitoring/netdata/settings": { "admin/secubox/monitoring/netdata/settings": {
@ -23,7 +23,7 @@
"order": 90, "order": 90,
"action": { "action": {
"type": "view", "type": "view",
"path": "netdata/settings" "path": "netdata-dashboard/settings"
} }
} }
} }

View File

@ -15,7 +15,7 @@
"order": 10, "order": 10,
"action": { "action": {
"type": "view", "type": "view",
"path": "netifyd/overview" "path": "netifyd-dashboard/overview"
} }
}, },
"admin/secubox/security/netifyd/applications": { "admin/secubox/security/netifyd/applications": {
@ -23,7 +23,7 @@
"order": 20, "order": 20,
"action": { "action": {
"type": "view", "type": "view",
"path": "netifyd/applications" "path": "netifyd-dashboard/applications"
} }
}, },
"admin/secubox/security/netifyd/flows": { "admin/secubox/security/netifyd/flows": {
@ -31,7 +31,7 @@
"order": 30, "order": 30,
"action": { "action": {
"type": "view", "type": "view",
"path": "netifyd/flows" "path": "netifyd-dashboard/flows"
} }
}, },
"admin/secubox/security/netifyd/settings": { "admin/secubox/security/netifyd/settings": {
@ -39,7 +39,7 @@
"order": 90, "order": 90,
"action": { "action": {
"type": "view", "type": "view",
"path": "netifyd/settings" "path": "netifyd-dashboard/settings"
} }
} }
} }

View File

@ -15,7 +15,7 @@
"order": 10, "order": 10,
"action": { "action": {
"type": "view", "type": "view",
"path": "wireguard/overview" "path": "wireguard-dashboard/overview"
} }
}, },
"admin/secubox/network/wireguard/peers": { "admin/secubox/network/wireguard/peers": {
@ -23,7 +23,7 @@
"order": 20, "order": 20,
"action": { "action": {
"type": "view", "type": "view",
"path": "wireguard/peers" "path": "wireguard-dashboard/peers"
} }
}, },
"admin/secubox/network/wireguard/qrcodes": { "admin/secubox/network/wireguard/qrcodes": {
@ -31,7 +31,7 @@
"order": 30, "order": 30,
"action": { "action": {
"type": "view", "type": "view",
"path": "wireguard/qrcodes" "path": "wireguard-dashboard/qrcodes"
} }
}, },
"admin/secubox/network/wireguard/settings": { "admin/secubox/network/wireguard/settings": {
@ -39,7 +39,7 @@
"order": 90, "order": 90,
"action": { "action": {
"type": "view", "type": "view",
"path": "wireguard/settings" "path": "wireguard-dashboard/settings"
} }
} }
} }