mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-10 07:34:07 -08:00
Update the styling to better match existing styles
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
parent
5d438ca2b6
commit
72740ba477
|
@ -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…
Reference in a new issue