secubox-openwrt/luci-app-system-hub/htdocs
CyberMind-FR cffe67d43b fix: system-hub API using baseclass.extend() for proper LuCI compatibility
Fixed TypeError: "factory yields invalid constructor" by:
- Adding 'require baseclass' directive
- Using baseclass.extend() to return proper constructor
- Added formatUptime() helper function
- Added formatBytes() helper function

This matches the pattern used in luci-app-secubox and other LuCI modules.

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-26 13:55:57 +01:00
..
luci-static/resources fix: system-hub API using baseclass.extend() for proper LuCI compatibility 2025-12-26 13:55:57 +01:00