-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[FEATURE_REGUEST] Allow custom status codes for status checking #456
Comments
The fix for this issue has now been released in Dashy 2.0.0 ✨ If you haven't done so already, please update your instance to Feel free to reach out if you need any more support. If you are enjoying Dashy, consider supporting the project. |
How to set Dashy if i got answer from auth.mysite.com becose Authelia but i need like photo.mysite.com ? |
https://github.com/Lissy93/dashy/blob/master/docs/status-indicators.md
|
So it's not super clear what you're asking. But if you mean how to set accepted status codes, then you can do this with something like: Or if you meant something else, then is probably covered in the troubleshooting section - there are lots of options you can set, so status checks to nearly all services should work. It's been discussed before, but ping-only status checks are not supported directly in Dashy, see: #233 |
Thanks for answer maybe i can fix it by enter kuma,dash to nginx setting for ignoring when GET from them ....
|
can you explain ? |
Discussed in #448
Originally posted by louisonsarlinmagnus January 27, 2022
In my Homelab I'm using Authelia as SSO.
Problem is that the
statusCheck
I get a red dot because of 401 return.Is there a way to add a "rule" saying 401=>Green ?
Implementation
Most of these changes would need to be implemented in the backend, in
status-check.js
.In the main export, add a line to get the accepted status codes, then pass it as a param to
makeRequest(...)
In the
catch
block ofmakeRequest(...)
, check the status code, and if it's in the accepted range, then return the success messageIn
getResponseType()
, add a param forvalidCodes
, then check if actual code is found in expected codesThen, in
Item.vue
, get the option from prop, convert to URL parameter and add it to the endpointAnd in
Section.vue
, pass the prop to the itemThe text was updated successfully, but these errors were encountered: