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
29 lines
551 B
JSON
29 lines
551 B
JSON
{
|
|
"admin/secubox/monitoring/netdata": {
|
|
"title": "Netdata",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "firstchild"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-netdata-dashboard"],
|
|
"uci": {"netdata": true}
|
|
}
|
|
},
|
|
"admin/secubox/monitoring/netdata/dashboard": {
|
|
"title": "Dashboard",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "netdata-dashboard/dashboard"
|
|
}
|
|
},
|
|
"admin/secubox/monitoring/netdata/settings": {
|
|
"title": "Settings",
|
|
"order": 90,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "netdata-dashboard/settings"
|
|
}
|
|
}
|
|
} |