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
53 lines
1.0 KiB
JSON
53 lines
1.0 KiB
JSON
{
|
|
"admin/secubox/security/crowdsec": {
|
|
"title": "CrowdSec",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "firstchild"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-crowdsec"],
|
|
"uci": {"crowdsec": true}
|
|
}
|
|
},
|
|
"admin/secubox/security/crowdsec/overview": {
|
|
"title": "Overview",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "crowdsec-dashboard/overview"
|
|
}
|
|
},
|
|
"admin/secubox/security/crowdsec/decisions": {
|
|
"title": "Decisions",
|
|
"order": 20,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "crowdsec-dashboard/decisions"
|
|
}
|
|
},
|
|
"admin/secubox/security/crowdsec/alerts": {
|
|
"title": "Alerts",
|
|
"order": 30,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "crowdsec-dashboard/alerts"
|
|
}
|
|
},
|
|
"admin/secubox/security/crowdsec/bouncers": {
|
|
"title": "Bouncers",
|
|
"order": 40,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "crowdsec-dashboard/bouncers"
|
|
}
|
|
},
|
|
"admin/secubox/security/crowdsec/settings": {
|
|
"title": "Settings",
|
|
"order": 90,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "crowdsec-dashboard/settings"
|
|
}
|
|
}
|
|
} |