Update the styling to better match existing styles

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
pull/260/head
Thies 3 years ago committed by GitHub
parent 5d438ca2b6
commit 72740ba477
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -95,8 +95,11 @@ class Notification {
await axios.post(notification.discordWebhookUrl, discordtestdata)
return okMsg;
}
let url = monitorJSON["url"] === "https://" ? monitorJSON["hostname"] : monitorJSON["url"]
if (monitorJSON["port"]) url += ":" + monitorJSON[port]
if (monitorJSON["port"]) {
url += ":" + monitorJSON[port];
}
// If heartbeatJSON is not null, we go into the normal alerting loop.
if (heartbeatJSON["status"] == 0) {

Loading…
Cancel
Save