fix tls cert not exist issue

This commit is contained in:
杨黄林
2023-09-17 11:56:37 +08:00
parent 6d787693dc
commit 8b574adfe6
4 changed files with 9 additions and 7 deletions

View File

@@ -92,6 +92,8 @@ func parseConfigFile(configFile, tokensFile string) (controller.HandleController
tls := server.TLS{
Enable: common.Common.TlsMode,
Protocol: "HTTP",
Cert: common.Common.TlsCertFile,
Key: common.Common.TlsKeyFile,
}
if tls.Enable {