diff --git a/server/middleware/csp.go b/server/middleware/csp.go index 996b168..8a1fa21 100644 --- a/server/middleware/csp.go +++ b/server/middleware/csp.go @@ -26,7 +26,7 @@ func SetPrivacyHeaders(h http.Handler) http.Handler { header.Add("X-Powered-By", "hatsune miku") // Instance information (RFC 6648 compliant) header.Add("Pixivfe-Version", config.GlobalConfig.Version) - header.Add("Pixivfe-Revision", config.GlobalConfig.Revision) + // header.Add("Pixivfe-Revision", config.GlobalConfig.Revision) /* NOTE: The HSTS header is commented out to avoid potential conflicts with reverse proxies, which may already set their own HSTS policies. Generally, it is better for reverse proxies