mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-11 16:00:44 -04:00
add status boolean parameter to push monitor
This commit is contained in:
parent
0ca68f791f
commit
3d002b3ce9
2 changed files with 5 additions and 4 deletions
|
@ -53,7 +53,7 @@
|
|||
<CopyableInput id="push-url" v-model="pushURL" type="url" disabled="disabled" />
|
||||
<div class="form-text">
|
||||
{{ $t("needPushEvery", [monitor.interval]) }}<br />
|
||||
{{ $t("pushOptionalParams", ["msg, ping"]) }}
|
||||
{{ $t("pushOptionalParams", ["status, msg, ping"]) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -349,7 +349,7 @@ export default {
|
|||
},
|
||||
|
||||
pushURL() {
|
||||
return this.$root.baseURL + "/api/push/" + this.monitor.pushToken + "?msg=OK&ping=";
|
||||
return this.$root.baseURL + "/api/push/" + this.monitor.pushToken + "?status=true&msg=OK&ping=";
|
||||
},
|
||||
|
||||
bodyPlaceholder() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue