Skip to content

Commit

Permalink
Add FIXME
Browse files Browse the repository at this point in the history
  • Loading branch information
evanebb committed Jul 13, 2024
1 parent eddd77c commit a0167f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ func NewServer() (Server, error) {
func (s *Server) Run() {
log.Printf("starting API on %s", s.config.listenAddress)
s.routes()
// FIXME: don't use default ListenAndServe functions
if s.config.httpsEnabled {
log.Fatal(http.ListenAndServeTLS(s.config.listenAddress, s.config.httpsCertFile, s.config.httpsKeyFile, s.router))
} else {
Expand Down

0 comments on commit a0167f8

Please sign in to comment.