Skip to content

Commit

Permalink
Update https_server.go (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
ooopus authored Aug 29, 2024
1 parent 2bf2635 commit 1c4240d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/http_server/https_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 1c4240d

Please sign in to comment.