1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-09-15 18:57:04 +00:00

Offline-pwa update

This commit is contained in:
Brieuc Dubois 2025-01-11 18:56:29 +01:00
parent fbc3294f30
commit d88b8a1d3b
5 changed files with 29 additions and 10 deletions

View file

@ -100,7 +100,7 @@ func (b *Builder) Write() {
func (b *Builder) writeHeaders() {
b.headers["X-Content-Type-Options"] = "nosniff"
b.headers["X-Frame-Options"] = "DENY"
b.headers["Referrer-Policy"] = "no-referrer"
b.headers["Referrer-Policy"] = "strict-origin"
for key, value := range b.headers {
b.w.Header().Set(key, value)