We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Under push monitors, the default generated URL for the push monitor has the status=true string, but the api checks for up instead.
status=true
up
server/routers/api-router.js:37
let statusString = request.query.status || "up"; let status = (statusString === "up") ? UP : DOWN;
src/pages/EditMonitor.vue:424
pushURL() { return this.$root.baseURL + "/api/push/" + this.monitor.pushToken + "?status=true&msg=OK&ping="; },
I would recommend changing the default message to be status=up instead.
status=up
Create a push monitor, copy its id
The default status should be "up"
The status of "true" registers as "down"
1.15.1
Any
Firefox
No response
The text was updated successfully, but these errors were encountered:
db50ba9
No branches or pull requests
🛡️ Security Policy
Description
Under push monitors, the default generated URL for the push monitor has the
status=true
string, but the api checks forup
instead.server/routers/api-router.js:37
src/pages/EditMonitor.vue:424
I would recommend changing the default message to be
status=up
instead.👟 Reproduction steps
Create a push monitor, copy its id
👀 Expected behavior
The default status should be "up"
😓 Actual Behavior
The status of "true" registers as "down"
🐻 Uptime-Kuma Version
1.15.1
💻 Operating System and Arch
Any
🌐 Browser
Firefox
🐋 Docker Version
No response
🟩 NodeJS Version
No response
📝 Relevant log output
No response
The text was updated successfully, but these errors were encountered: