mirror of
https://github.com/Jinnrry/PMail.git
synced 2025-02-20 11:43:09 +08:00
Update https_server.go (#194)
This commit is contained in:
parent
2bf2635a40
commit
1c4240d36f
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user