mirror of
https://github.com/Jinnrry/PMail.git
synced 2026-04-22 16:07:14 +08:00
Update https_server.go (#194)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user