disable Pixivfe-Revision resp header

This commit is contained in:
perennial
2024-12-04 17:28:06 +11:00
parent 3fbb03d53f
commit 4efa24615f
+1 -1
View File
@@ -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