mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-10-26 00:19:21 +08:00
prevent invalid url strings in monitorJSON
This commit is contained in:
@@ -107,7 +107,7 @@ class Monitor extends BeanModel {
|
|||||||
pathName,
|
pathName,
|
||||||
parent: this.parent,
|
parent: this.parent,
|
||||||
childrenIDs: await Monitor.getAllChildrenIDs(this.id),
|
childrenIDs: await Monitor.getAllChildrenIDs(this.id),
|
||||||
url: this.url,
|
url: this.getUrl(),
|
||||||
method: this.method,
|
method: this.method,
|
||||||
hostname: this.hostname,
|
hostname: this.hostname,
|
||||||
port: this.port,
|
port: this.port,
|
||||||
|
|||||||
Reference in New Issue
Block a user