From 5edc2c104cb94bc9ed8cf05f668822a651875add Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 3 Jul 2024 10:41:02 +0200 Subject: oops --- internal/server/tls.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/server') diff --git a/internal/server/tls.go b/internal/server/tls.go index ebf76a2..1a79e9c 100644 --- a/internal/server/tls.go +++ b/internal/server/tls.go @@ -113,6 +113,7 @@ func (s *Server) serveTLS() (err error) { 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) -- cgit 1.4.1