From a84a17c8d75ecdd0e94b8dc8c7ce4d66c4dbc5e1 Mon Sep 17 00:00:00 2001 From: Sven Schaper <39189487+svenschaper@users.noreply.github.com> Date: Tue, 6 Dec 2022 22:50:33 +0100 Subject: [PATCH] Update server.go --- server.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server.go b/server.go index 5eb8944..6b394d3 100644 --- a/server.go +++ b/server.go @@ -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.