Fix healthcheck do not check https

这个提交包含在:
Louis Lam 2022-12-10 23:30:32 +08:00
父节点 02b5cae577
当前提交 5176fd02c1
共有 2 个文件被更改,包括 4 次插入1 次删除

查看文件

@ -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"