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:
parent
f83203de60
commit
73e28cd806
@ -15,7 +15,7 @@
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "crowdsec/overview"
|
||||
"path": "crowdsec-dashboard/overview"
|
||||
}
|
||||
},
|
||||
"admin/secubox/security/crowdsec/decisions": {
|
||||
@ -23,7 +23,7 @@
|
||||
"order": 20,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "crowdsec/decisions"
|
||||
"path": "crowdsec-dashboard/decisions"
|
||||
}
|
||||
},
|
||||
"admin/secubox/security/crowdsec/alerts": {
|
||||
@ -31,7 +31,7 @@
|
||||
"order": 30,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "crowdsec/alerts"
|
||||
"path": "crowdsec-dashboard/alerts"
|
||||
}
|
||||
},
|
||||
"admin/secubox/security/crowdsec/bouncers": {
|
||||
@ -39,7 +39,7 @@
|
||||
"order": 40,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "crowdsec/bouncers"
|
||||
"path": "crowdsec-dashboard/bouncers"
|
||||
}
|
||||
},
|
||||
"admin/secubox/security/crowdsec/settings": {
|
||||
@ -47,7 +47,7 @@
|
||||
"order": 90,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "crowdsec/settings"
|
||||
"path": "crowdsec-dashboard/settings"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -15,7 +15,7 @@
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "netdata/dashboard"
|
||||
"path": "netdata-dashboard/dashboard"
|
||||
}
|
||||
},
|
||||
"admin/secubox/monitoring/netdata/settings": {
|
||||
@ -23,7 +23,7 @@
|
||||
"order": 90,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "netdata/settings"
|
||||
"path": "netdata-dashboard/settings"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -15,7 +15,7 @@
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "netifyd/overview"
|
||||
"path": "netifyd-dashboard/overview"
|
||||
}
|
||||
},
|
||||
"admin/secubox/security/netifyd/applications": {
|
||||
@ -23,7 +23,7 @@
|
||||
"order": 20,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "netifyd/applications"
|
||||
"path": "netifyd-dashboard/applications"
|
||||
}
|
||||
},
|
||||
"admin/secubox/security/netifyd/flows": {
|
||||
@ -31,7 +31,7 @@
|
||||
"order": 30,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "netifyd/flows"
|
||||
"path": "netifyd-dashboard/flows"
|
||||
}
|
||||
},
|
||||
"admin/secubox/security/netifyd/settings": {
|
||||
@ -39,7 +39,7 @@
|
||||
"order": 90,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "netifyd/settings"
|
||||
"path": "netifyd-dashboard/settings"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -15,7 +15,7 @@
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "wireguard/overview"
|
||||
"path": "wireguard-dashboard/overview"
|
||||
}
|
||||
},
|
||||
"admin/secubox/network/wireguard/peers": {
|
||||
@ -23,7 +23,7 @@
|
||||
"order": 20,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "wireguard/peers"
|
||||
"path": "wireguard-dashboard/peers"
|
||||
}
|
||||
},
|
||||
"admin/secubox/network/wireguard/qrcodes": {
|
||||
@ -31,7 +31,7 @@
|
||||
"order": 30,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "wireguard/qrcodes"
|
||||
"path": "wireguard-dashboard/qrcodes"
|
||||
}
|
||||
},
|
||||
"admin/secubox/network/wireguard/settings": {
|
||||
@ -39,7 +39,7 @@
|
||||
"order": 90,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "wireguard/settings"
|
||||
"path": "wireguard-dashboard/settings"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user