Update https_server.go (#194)

This commit is contained in:
ooopus authored and GitHub committed 2024-08-30 07:36:44 +08:00
1 parent 2bf2635a40
commit 1c4240d36f
1 file changed
+1 -1
+1 -1
View File
@@ -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)
}