oops
Alan Pearce alan@alanpearce.eu
Wed, 03 Jul 2024 10:41:02 +0200
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M internal/server/tls.go → internal/server/tls.go
@@ -113,6 +113,7 @@ } url.Host = net.JoinHostPort(host, s.config.BaseURL.Port()) http.Redirect(w, r, url.String(), http.StatusMovedPermanently) }) + srv.Handler = httpMux if err := srv.Serve(ln); err != nil && !errors.Is(err, http.ErrServerClosed) { log.Error("error in http handler", "error", err)