Add a public URL field for monitors and uses it on the status page (#5435)

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
Ionys 2025-05-10 19:05:37 +02:00 committed by GitHub
parent 86b3ef9c86
commit 2b3f49a266
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 58 additions and 5 deletions

View file

@ -211,6 +211,10 @@ module.exports.statusPageSocketHandler = (socket) => {
relationBean.send_url = monitor.sendUrl;
}
if (monitor.url !== undefined) {
relationBean.custom_url = monitor.url;
}
await R.store(relationBean);
}