You've already forked uptime-kuma
							
							
				mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-10-30 23:58:13 +02:00 
			
		
		
		
	Fix healthcheck do not check https
This commit is contained in:
		| @@ -19,3 +19,6 @@ indent_size = 2 | ||||
|  | ||||
| [*.vue] | ||||
| trim_trailing_whitespace = false | ||||
|  | ||||
| [*.go] | ||||
| indent_style = tab | ||||
|   | ||||
| @@ -49,7 +49,7 @@ func main() { | ||||
| 	} | ||||
|  | ||||
| 	protocol := "" | ||||
| 	if len(sslKey) != 0 && len(sslCert) == 0 { | ||||
| 	if len(sslKey) != 0 && len(sslCert) != 0 { | ||||
| 		protocol = "https" | ||||
| 	} else { | ||||
| 		protocol = "http" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user