[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2026-01-04 17:02:22 +00:00 committed by GitHub
parent 3f0a7e70ec
commit f93c3021cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2112,7 +2112,7 @@ message HealthCheckResponse {
}
// Validate URL field input for various monitors
if (["http", "keyword", "json-query", "websocket-upgrade", "real-browser"].includes(this.monitor.type) && this.monitor.url) {
if ([ "http", "keyword", "json-query", "websocket-upgrade", "real-browser" ].includes(this.monitor.type) && this.monitor.url) {
try {
const url = new URL(this.monitor.url);
// Browser can encode *.hostname.com to %2A.hostname.com