mirror of
https://codeberg.org/VnPower/PixivFE
synced 2024-12-06 19:16:23 +01:00
disable Pixivfe-Revision resp header
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user