diff --git a/server/model/monitor.js b/server/model/monitor.js index 94368b265..b3ed31d6c 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -107,7 +107,7 @@ class Monitor extends BeanModel { pathName, parent: this.parent, childrenIDs: await Monitor.getAllChildrenIDs(this.id), - url: this.getUrl()?.href, + url: this.url, method: this.method, hostname: this.hostname, port: this.port,