From 2c8cefc78463c8ec1d2e5a463850584cb4c81d89 Mon Sep 17 00:00:00 2001 From: Brodie Davis Date: Thu, 20 Jun 2024 12:10:49 -0400 Subject: [PATCH] use string url in json, not url object --- 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 510d5b760..253b50a11 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(), + url: this.getUrl()?.href, method: this.method, hostname: this.hostname, port: this.port,