Commit Graph

2 Commits

  • feat(management): add proxy support for management asset synchronization
    - Introduced `proxyURL` parameter for `EnsureLatestManagementHTML` to enable proxy configuration.
    - Refactored HTTP client initialization with new `newHTTPClient` to support proxy-aware requests.
    - Updated asset download and fetch logic to utilize the proxy-aware HTTP client.
    - Adjusted `server.go` to pass `cfg.ProxyURL` for management asset synchronization calls.
  • feat(management): add support for control panel asset synchronization
    - Introduced `EnsureLatestManagementHTML` to sync `management.html` asset from the latest GitHub release.
    - Added config option `DisableControlPanel` to toggle control panel functionality.
    - Serve management control panel via `/management.html` endpoint, with automatic download and update mechanism.
    - Updated `.gitignore` to include `static/*` directory for control panel assets.