secubox-openwrt/package/secubox/luci-app-haproxy/htdocs
CyberMind-FR 22bd4bd445 fix(haproxy): Use module-level RPC declarations in api.js
Fix TypeError "haproxy.api factory yields invalid constructor" by
refactoring api.js to use correct LuCI module pattern:
- Define RPC calls at module level with rpc.declare()
- Reference them in baseclass.extend() object
- Add getDashboardData helper function at module level

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 20:15:48 +01:00
..
luci-static/resources fix(haproxy): Use module-level RPC declarations in api.js 2026-01-23 20:15:48 +01:00