Skip to content

Commit

Permalink
Merge pull request supabase#206 from supabase/fix/serve-http
Browse files Browse the repository at this point in the history
fix: serve http traffic
  • Loading branch information
kangmingtay authored Sep 7, 2021
2 parents 089886e + a6ea1eb commit 6f75827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (a *API) ListenAndServe(hostAndPort string) {
server.Shutdown(ctx)
}()

if err := server.ListenAndServeTLS("./api/certs/server.crt", "./api/certs/server.key"); err != http.ErrServerClosed {
if err := server.ListenAndServe(); err != http.ErrServerClosed {
log.WithError(err).Fatal("http server listen failed")
}
}
Expand Down

0 comments on commit 6f75827

Please sign in to comment.