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> |
||
|---|---|---|
| .. | ||
| resources | ||