From 1c4240d36f0b061299e29301a4dcf03f483cdcb3 Mon Sep 17 00:00:00 2001 From: ooopus <107778929+ooopus@users.noreply.github.com> Date: Fri, 30 Aug 2024 07:36:44 +0800 Subject: [PATCH] Update https_server.go (#194) --- server/http_server/https_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/http_server/https_server.go b/server/http_server/https_server.go index 94a9792..b17a330 100644 --- a/server/http_server/https_server.go +++ b/server/http_server/https_server.go @@ -55,7 +55,7 @@ func HttpsStart() { WriteTimeout: time.Second * 90, ErrorLog: nullLog, } - err := httpsServer.ListenAndServeTLS("config/ssl/public.crt", "config/ssl/private.key") + err := httpsServer.ListenAndServeTLS(config.Instance.SSLPublicKeyPath, config.Instance.SSLPrivateKeyPath) if err != nil { panic(err) }