fix the custom server header

Signed-off-by: arzumify <jliwin98@danwin1210.de>
This commit is contained in:
Tracker-Friendly 2024-10-24 19:41:37 +01:00
parent dfe1fdf6f0
commit 88bde3f592
1 changed files with 1 additions and 1 deletions

View File

@ -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