Dashboard and modules view had incorrect URLs for module links, causing 404 errors when clicking on module cards. Updated all module paths to match actual menu structure defined in menu.d JSON files. **Changes:** **dashboard.js:** - Fixed modulePaths in renderActiveModules (2 instances) - Updated all 14 module paths to include correct subpaths **modules.js:** - Fixed getModuleDashboardPath function - Updated all 14 module paths to match menu definitions **Corrected Paths:** | Module | Old Path | New Path | |--------|----------|----------| | crowdsec | security/crowdsec | security/crowdsec/overview | | netdata | monitoring/netdata | monitoring/netdata/dashboard | | netifyd | security/netifyd | security/netifyd/overview | | wireguard | network/wireguard | network/wireguard/overview | | network_modes | network/modes | network/network-modes/overview | | client_guardian | security/guardian | security/client-guardian/overview | | system_hub | system/hub | system/system-hub/overview | | bandwidth_manager | network/bandwidth | network/bandwidth-manager/overview | | auth_guardian | security/auth | security/auth-guardian/overview | | media_flow | network/media | monitoring/mediaflow/dashboard | | vhost_manager | system/vhost | services/vhosts/overview | | traffic_shaper | network/shaper | network/traffic-shaper/overview | | cdn_cache | network/cdn | network/cdn-cache/overview | | ksm_manager | security/ksm | security/ksm-manager/overview | **Result:** - ✅ Module cards now link to correct dashboards - ✅ "Dashboard" buttons in modules view work correctly - ✅ All paths verified against actual menu.d/*.json definitions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| luci-static/resources | ||