diff --git a/server/model/monitor.js b/server/model/monitor.js index cb82bb85c..d8bc4c4cd 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -53,7 +53,7 @@ class Monitor extends BeanModel { }; if (this.sendUrl) { - obj.url = this.publicUrl ?? this.url; // Use publicUrl if available, otherwise use url + obj.url = this.publicUrl ?? this.url; } if (showTags) {