about summary refs log tree commit diff stats
path: root/internal/server/headers.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/server/headers.go')
-rw-r--r--internal/server/headers.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/server/headers.go b/internal/server/headers.go
index 4fb9efd..562fccc 100644
--- a/internal/server/headers.go
+++ b/internal/server/headers.go
@@ -11,6 +11,7 @@ func AddHeadersMiddleware(next http.Handler, config *cfg.Config) http.Handler {
 			w.Header().Add(h, v)
 		}
 		w.Header().Add("Content-Security-Policy", config.Web.ContentSecurityPolicy.String())
+		w.Header().Add("Server", "searchix/"+cfg.ShortSHA)
 
 		next.ServeHTTP(w, r)
 	})