mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 08:44:04 +00:00
use string url in json, not url object
This commit is contained in:
parent
94f75b2fbc
commit
2c8cefc784
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class Monitor extends BeanModel {
|
||||||
pathName,
|
pathName,
|
||||||
parent: this.parent,
|
parent: this.parent,
|
||||||
childrenIDs: await Monitor.getAllChildrenIDs(this.id),
|
childrenIDs: await Monitor.getAllChildrenIDs(this.id),
|
||||||
url: this.getUrl(),
|
url: this.getUrl()?.href,
|
||||||
method: this.method,
|
method: this.method,
|
||||||
hostname: this.hostname,
|
hostname: this.hostname,
|
||||||
port: this.port,
|
port: this.port,
|
||||||
|
|
Loading…
Reference in a new issue