From 88bde3f5926ee5cc759643538a2694a795299739 Mon Sep 17 00:00:00 2001 From: arzumify Date: Thu, 24 Oct 2024 19:41:37 +0100 Subject: [PATCH] fix the custom server header Signed-off-by: arzumify --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index de09c3a..1f2e514 100644 --- a/main.go +++ b/main.go @@ -67,8 +67,8 @@ var ( } serverChanger = func(next http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - next.ServeHTTP(w, r) w.Header().Set("Server", "Fulgens HTTP Server") + next.ServeHTTP(w, r) }) } validate *validator.Validate