1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2024-09-28 23:07:30 +00:00

Set referrer-policy to strict-origin

This commit is contained in:
Cadence Ember 2020-05-30 23:21:09 +12:00
parent e61a19e61a
commit f252233f47
No known key found for this signature in database
GPG Key ID: 128B99B1B74A6412

View File

@ -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"
} }
}) })