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
45 lines
875 B
JSON
45 lines
875 B
JSON
{
|
|
"admin/secubox/security/netifyd": {
|
|
"title": "Netifyd",
|
|
"order": 20,
|
|
"action": {
|
|
"type": "firstchild"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-netifyd-dashboard"],
|
|
"uci": {"netifyd": true}
|
|
}
|
|
},
|
|
"admin/secubox/security/netifyd/overview": {
|
|
"title": "Overview",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "netifyd-dashboard/overview"
|
|
}
|
|
},
|
|
"admin/secubox/security/netifyd/applications": {
|
|
"title": "Applications",
|
|
"order": 20,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "netifyd-dashboard/applications"
|
|
}
|
|
},
|
|
"admin/secubox/security/netifyd/flows": {
|
|
"title": "Flows",
|
|
"order": 30,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "netifyd-dashboard/flows"
|
|
}
|
|
},
|
|
"admin/secubox/security/netifyd/settings": {
|
|
"title": "Settings",
|
|
"order": 90,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "netifyd-dashboard/settings"
|
|
}
|
|
}
|
|
} |