secubox-openwrt/package/secubox/luci-app-crowdsec-dashboard/htdocs/luci-static/resources
CyberMind-FR fffe96999c fix(luci-app-crowdsec-dashboard): Fix API instantiation error
Changed 'new api()' to 'api' in all dashboard views since the API module
exports an object, not a constructor class.

Fixed files:
- overview.js
- decisions.js
- alerts.js
- metrics.js
- waf.js

This resolves the 'TypeError: api is not a constructor' error.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-06 15:56:33 +01:00
..
crowdsec-dashboard feat(structure): reorganize luci-app packages into package/secubox/ + appstore migration 2026-01-01 14:59:38 +01:00
view/crowdsec-dashboard fix(luci-app-crowdsec-dashboard): Fix API instantiation error 2026-01-06 15:56:33 +01:00