about summary refs log tree commit diff stats
path: root/internal/server/logging.go
diff options
context:
space:
mode:
authorAlan Pearce2025-01-30 22:16:09 +0100
committerAlan Pearce2025-01-30 22:16:09 +0100
commit99f8047ef20a64f948ac2b703c81eb49bed091c0 (patch)
treea0365a7b2e477467a91bef247db09624028e1807 /internal/server/logging.go
parent4566db657dab6af43f8fce814cd0e42cbcc788bf (diff)
downloadwebsite-sqlite.tar.lz
website-sqlite.tar.zst
website-sqlite.zip
re-organise everything sqlite
Diffstat (limited to 'internal/server/logging.go')
-rw-r--r--internal/server/logging.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/internal/server/logging.go b/internal/server/logging.go
index f744931..800e97a 100644
--- a/internal/server/logging.go
+++ b/internal/server/logging.go
@@ -27,9 +27,6 @@ func wrapHandlerWithLogging(wrappedHandler http.Handler, log *log.Logger) http.H
 	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
 		lw := NewLoggingResponseWriter(w)
 		wrappedHandler.ServeHTTP(lw, r)
-		if r.URL.Path == "/health" {
-			return
-		}
 		log.Info(
 			"http request",
 			"method", r.Method,