Skip to content

Commit

Permalink
fix(headers): replace Feature-Policy header with Permissions-Policy (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
wKovacs64 authored Dec 18, 2020
1 parent 7a352ac commit 05ae606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = {
headers: {
'/*': [
"Content-Security-Policy: default-src 'self' https://fonts.googleapis.com; connect-src 'self' https://fonts.googleapis.com https://fonts.gstatic.com; img-src data: https:; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; worker-src 'self'; object-src 'none'",
"Feature-Policy: geolocation 'none'; camera 'none'; microphone 'none'; speaker 'none'; payment 'none'; usb 'none'",
'Permissions-Policy: geolocation=(), camera=(), microphone=(), payment=(), usb=()',
'Referrer-Policy: no-referrer-when-downgrade',
'Expect-CT: enforce, max-age=3600',
],
Expand Down

0 comments on commit 05ae606

Please sign in to comment.