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
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ const pinski = new Pinski({
globalHeaders: {
"Content-Security-Policy": "default-src 'self'; frame-ancestors 'none'; block-all-mixed-content",
"Feature-Policy": deniedFeatures.map(feature => `${feature} 'none'`).join("; "),
"Referrer-Policy": "origin",
"Referrer-Policy": "strict-origin",
"X-Content-Type-Options": "nosniff"
}
})