diff --git a/main.go b/main.go index 2da89cb..b35ede7 100644 --- a/main.go +++ b/main.go @@ -70,6 +70,7 @@ func newHandler(cfg Config) http.HandlerFunc { func newHandlerPostAPIV1Events(cfg Config) http.HandlerFunc { return func(w http.ResponseWriter, r *http.Request) { src := path.Base(strings.TrimSuffix(r.URL.Path, "/")) + log.Printf("%s %s | src=%s", r.Method, r.URL, src) json.NewEncoder(w).Encode(map[string]any{"src": src}) } }