Skip to content

Commit

Permalink
Update server.go
Browse files Browse the repository at this point in the history
  • Loading branch information
svenschaper authored Dec 6, 2022
1 parent 4db8875 commit a84a17c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ func (lime *LimeServer) SetSecurity(waf, usecors, proxy, recovery bool) {
}

func (lime *LimeServer) Start() {

lime.Server.Handler = lime.Router

if err := lime.Server.ListenAndServe(); err != nil {
logger.Info("There was an error with the http server",
// Structured context as strongly typed Field values.
Expand Down

0 comments on commit a84a17c

Please sign in to comment.