Skip to content

Commit

Permalink
fix: remove local certs from server
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorian committed Sep 24, 2024
1 parent 329e2c8 commit 794fba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func main() {

go http.ListenAndServe(":80", certManager.HTTPHandler(nil))

if err := server.ListenAndServeTLS("certs/localhost.crt", "certs/localhost.key"); err != nil {
if err := server.ListenAndServeTLS("", ""); err != nil {
logger.Error(err.Error())
os.Exit(1)
}
Expand Down

0 comments on commit 794fba8

Please sign in to comment.