prevent invalid url strings in monitorJSON

pull/4871/head
Brodie Davis 5 months ago
parent 39c1283ba6
commit 1488b1f17b

@ -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,

Loading…
Cancel
Save