use string url in json, not url object

This commit is contained in:
Brodie Davis 2024-06-20 12:10:49 -04:00
parent 94f75b2fbc
commit 2c8cefc784

View File

@ -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,