mirror of
https://github.com/skidoodle/albert.lol.git
synced 2025-02-15 06:09:15 +01:00
Add permission policy to security headers
This commit is contained in:
parent
d1b8e8f676
commit
61f0aeb38c
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@ const securityHeaders = [
|
||||||
key: 'Strict-Transport-Security',
|
key: 'Strict-Transport-Security',
|
||||||
value: 'max-age=31536000; includeSubDomains; preload',
|
value: 'max-age=31536000; includeSubDomains; preload',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: 'Permissions-Policy',
|
||||||
|
value: 'camera=(), microphone=(), geolocation=(), interest-cohort=()',
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue