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:
parent
fbc3294f30
commit
d88b8a1d3b
5 changed files with 29 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue