mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2024-11-22 08:07:30 +00:00
Set referrer-policy to strict-origin
This commit is contained in:
parent
e61a19e61a
commit
f252233f47
@ -20,7 +20,7 @@ const pinski = new Pinski({
|
|||||||
globalHeaders: {
|
globalHeaders: {
|
||||||
"Content-Security-Policy": "default-src 'self'; frame-ancestors 'none'; block-all-mixed-content",
|
"Content-Security-Policy": "default-src 'self'; frame-ancestors 'none'; block-all-mixed-content",
|
||||||
"Feature-Policy": deniedFeatures.map(feature => `${feature} 'none'`).join("; "),
|
"Feature-Policy": deniedFeatures.map(feature => `${feature} 'none'`).join("; "),
|
||||||
"Referrer-Policy": "origin",
|
"Referrer-Policy": "strict-origin",
|
||||||
"X-Content-Type-Options": "nosniff"
|
"X-Content-Type-Options": "nosniff"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user