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:
@@ -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 = {
|
||||||
|
Reference in New Issue
Block a user