pass accountID

This commit is contained in:
pascal
2026-01-29 14:47:22 +01:00
parent 8e0b7b6c25
commit 0d480071b6
4 changed files with 32 additions and 4 deletions

View File

@@ -170,7 +170,7 @@ func (s *Server) ListenAndServe(ctx context.Context, addr string) (err error) {
// Finally, start the reverse proxy.
s.https = &http.Server{
Addr: addr,
Handler: s.auth.Protect(accessLog.Middleware(s.proxy)),
Handler: accessLog.Middleware(s.auth.Protect(s.proxy)),
TLSConfig: tlsConfig,
}
return s.https.ListenAndServeTLS("", "")