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
880 B
JSON
45 lines
880 B
JSON
{
|
|
"admin/secubox/network/wireguard": {
|
|
"title": "WireGuard",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "firstchild"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-wireguard-dashboard"],
|
|
"uci": {"wireguard": true}
|
|
}
|
|
},
|
|
"admin/secubox/network/wireguard/overview": {
|
|
"title": "Overview",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "wireguard-dashboard/overview"
|
|
}
|
|
},
|
|
"admin/secubox/network/wireguard/peers": {
|
|
"title": "Peers",
|
|
"order": 20,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "wireguard-dashboard/peers"
|
|
}
|
|
},
|
|
"admin/secubox/network/wireguard/qrcodes": {
|
|
"title": "QR Codes",
|
|
"order": 30,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "wireguard-dashboard/qrcodes"
|
|
}
|
|
},
|
|
"admin/secubox/network/wireguard/settings": {
|
|
"title": "Settings",
|
|
"order": 90,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "wireguard-dashboard/settings"
|
|
}
|
|
}
|
|
} |