Skip to content

metrics page, fix auto refresh#3518

Merged
springfall2008 merged 1 commit intomainfrom
fixes21
Mar 8, 2026
Merged

metrics page, fix auto refresh#3518
springfall2008 merged 1 commit intomainfrom
fixes21

Conversation

@springfall2008
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings March 8, 2026 11:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the metrics dashboard auto-refresh request to use a relative URL so it works correctly when PredBat’s web UI is hosted under a non-root path (e.g., Home Assistant ingress / reverse proxy setups).

Changes:

  • Switch the dashboard’s periodic refresh fetch from an absolute path (/metrics/json) to a relative path (./metrics/json).

@springfall2008 springfall2008 merged commit 8278e68 into main Mar 8, 2026
5 checks passed
@springfall2008 springfall2008 deleted the fixes21 branch March 8, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants