mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Cover dns and steam types in Discord notifs
This commit is contained in:
parent
1b1e0f6dd9
commit
2638d68c97
1 changed files with 3 additions and 1 deletions
|
@ -25,8 +25,10 @@ class Discord extends NotificationProvider {
|
||||||
let url;
|
let url;
|
||||||
|
|
||||||
switch (monitorJSON["type"]) {
|
switch (monitorJSON["type"]) {
|
||||||
case "port":
|
case "dns":
|
||||||
case "ping":
|
case "ping":
|
||||||
|
case "port":
|
||||||
|
case "steam":
|
||||||
url = monitorJSON["hostname"];
|
url = monitorJSON["hostname"];
|
||||||
if (monitorJSON["port"]) {
|
if (monitorJSON["port"]) {
|
||||||
url += ":" + monitorJSON["port"];
|
url += ":" + monitorJSON["port"];
|
||||||
|
|
Loading…
Reference in a new issue