diff --git a/.editorconfig b/.editorconfig index 3b272193..47bf4768 100644 --- a/.editorconfig +++ b/.editorconfig @@ -19,3 +19,6 @@ indent_size = 2 [*.vue] trim_trailing_whitespace = false + +[*.go] +indent_style = tab diff --git a/extra/healthcheck.go b/extra/healthcheck.go index 9d277549..779b1583 100644 --- a/extra/healthcheck.go +++ b/extra/healthcheck.go @@ -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"