From 1488b1f17b28eebbfdf167a7d7e03de9075d97a9 Mon Sep 17 00:00:00 2001 From: Brodie Davis Date: Thu, 20 Jun 2024 11:54:20 -0400 Subject: [PATCH] prevent invalid url strings in monitorJSON --- server/model/monitor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,