mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 08:44:04 +00:00
Fix healthcheck do not check https
This commit is contained in:
parent
02b5cae577
commit
5176fd02c1
2 changed files with 4 additions and 1 deletions
|
@ -19,3 +19,6 @@ indent_size = 2
|
||||||
|
|
||||||
[*.vue]
|
[*.vue]
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
|
[*.go]
|
||||||
|
indent_style = tab
|
||||||
|
|
|
@ -49,7 +49,7 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol := ""
|
protocol := ""
|
||||||
if len(sslKey) != 0 && len(sslCert) == 0 {
|
if len(sslKey) != 0 && len(sslCert) != 0 {
|
||||||
protocol = "https"
|
protocol = "https"
|
||||||
} else {
|
} else {
|
||||||
protocol = "http"
|
protocol = "http"
|
||||||
|
|
Loading…
Reference in a new issue