This commit is contained in:
3
main.go
3
main.go
@@ -497,6 +497,9 @@ func (s *server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
// Delegate everything else to autocert http‑01 challenge handler
|
// Delegate everything else to autocert http‑01 challenge handler
|
||||||
|
lg := slog.New(slog.NewJSONHandler(os.Stdout, nil))
|
||||||
|
slog.SetDefault(lg)
|
||||||
|
lg.Info("Call", r.URL.Path)
|
||||||
s.mgr.HTTPHandler(nil).ServeHTTP(w, r)
|
s.mgr.HTTPHandler(nil).ServeHTTP(w, r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user