enhance logger

This commit is contained in:
2025-03-17 23:36:13 +01:00
parent 1772044261
commit 3cfc769269

View File

@@ -75,7 +75,7 @@ func CORS(next http.Handler) http.Handler {
func Logger(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
fmt.Println(r.URL)
fmt.Println(r.Method, r.URL, r.Referer())
next.ServeHTTP(w, r)
})