prevent invalid url strings in monitorJSON

This commit is contained in:
Brodie Davis 2024-06-20 11:54:20 -04:00
parent 39c1283ba6
commit 1488b1f17b

View file

@ -107,7 +107,7 @@ class Monitor extends BeanModel {
pathName,
parent: this.parent,
childrenIDs: await Monitor.getAllChildrenIDs(this.id),
url: this.url,
url: this.getUrl(),
method: this.method,
hostname: this.hostname,
port: this.port,