mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-06-19 07:36:11 +00:00
fix: preserve saved protocol when loading Globalping ping monitor (#7465)
This commit is contained in:
@@ -3730,7 +3730,7 @@ message HealthCheckResponse {
|
||||
}
|
||||
}
|
||||
|
||||
if (newSubtype !== oldSubtype) {
|
||||
if (oldSubtype && newSubtype !== oldSubtype) {
|
||||
if (newSubtype === "ping") {
|
||||
this.monitor.protocol = "ICMP";
|
||||
this.monitor.port = "80";
|
||||
|
||||
Reference in New Issue
Block a user