diff --git a/server/model/monitor.js b/server/model/monitor.js index b3ed31d6c..2c0d6ded7 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.url, + url: this.getUrl(), method: this.method, hostname: this.hostname, port: this.port,