secubox-openwrt/package/secubox/luci-app-haproxy/htdocs/luci-static/resources
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
..
haproxy fix(haproxy): Use module-level RPC declarations in api.js 2026-01-23 20:15:48 +01:00
view/haproxy feat(haproxy): Add HAProxy load balancer packages for OpenWrt 2026-01-23 20:09:32 +01:00