8000 feat: add alternate link (error-url) for monitor widget sites by JeckDev · Pull Request #314 · glanceapp/glance · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: add alternate link (error-url) for monitor widget sites #314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 17, 2025

Conversation

JeckDev
Copy link
Contributor
@JeckDev JeckDev commented Jan 15, 2025

This provides an optional parameter, error-url, per each site defined in a monitor widget. The parameter allows an alternate link to be returned when the site has an error (because the normal link by definition probably doesn't work).

For my usage, when a site returns an error it's most often because the docker is down or the site is misconfigured somehow; in either case I'd need to edit the configuration in my docker manager. So I have the error-url setup to point at a per site "http://docker-manager.local/specific-container" that's only available on my local network.

@JeckDev JeckDev changed the title Add alternate link (error-url) for monitor widget sites feat: add alternate link (error-url) for monitor widget sites Jan 15, 2025
Copy link
Member
@svilenmarkov svilenmarkov left a comment
8820

Choose a reason for hiding this comment

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

Thanks for contributing!

@svilenmarkov svilenmarkov merged commit a83389b into glanceapp:release/v0.7.0 Jan 17, 2025
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
0