feat: add Globalping support (#6163)

Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Radu Lucuț
2026-01-26 05:39:42 +00:00
committed by GitHub
co-authored by Frank Elsinga autofix-ci[bot]
parent 66c8bac506
commit bad679ee47
14 changed files with 2070 additions and 80 deletions
+4 -1
View File
@@ -745,7 +745,7 @@ let needSetup = false;
* List of frontend-only properties that should not be saved to the database.
* Should clean up before saving to the database.
*/
const frontendOnlyProperties = ["humanReadableInterval"];
const frontendOnlyProperties = ["humanReadableInterval", "responsecheck"];
for (const prop of frontendOnlyProperties) {
if (prop in monitor) {
delete monitor[prop];
@@ -823,6 +823,7 @@ let needSetup = false;
bean.description = monitor.description;
bean.parent = monitor.parent;
bean.type = monitor.type;
bean.subtype = monitor.subtype;
bean.url = monitor.url;
bean.wsIgnoreSecWebsocketAcceptHeader = monitor.wsIgnoreSecWebsocketAcceptHeader;
bean.wsSubprotocol = monitor.wsSubprotocol;
@@ -849,6 +850,8 @@ let needSetup = false;
bean.game = monitor.game;
bean.maxretries = monitor.maxretries;
bean.port = parseInt(monitor.port);
bean.location = monitor.location;
bean.protocol = monitor.protocol;
if (isNaN(bean.port)) {
bean.port = null;