Skip to content

Commit

Permalink
Update Permissions-Policy - disable all features
Browse files Browse the repository at this point in the history
  • Loading branch information
AdisonCavani committed Sep 1, 2022
1 parent 7e58d8f commit b682851
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ const securityHeaders = [
value: 'on'
},
{
// See: https://github.com/w3c/webappsec-permissions-policy/issues/189
key: 'Permissions-Policy',
value: ''
value:
'accelerometer=(),ambient-light-sensor=(),attribution-reporting=(),autoplay=(),battery=(),camera=(),clipboard-read=(),clipboard-write=(),conversion-measurement=(),cross-origin-isolated=(),direct-sockets=(),display-capture=(),document-domain=(),encrypted-media=(),execution-while-not-rendered=(),execution-while-out-of-viewport=(),focus-without-user-activation=(),fullscreen=(),gamepad=(),geolocation=(),gyroscope=(),hid=(),idle-detection=(),interest-cohort=(),magnetometer=(),microphone=(),midi=(),navigation-override=(),otp-credentials=(),payment=(),picture-in-picture=(),publickey-credentials-get=(),screen-wake-lock=(),serial=(),shared-autofill=(),speaker-selection=(),storage-access-api=(),sync-script=(),sync-xhr=(),trust-token-redemption=(),usb=(),vertical-scroll=(),wake-lock=(),web-share=(),window-placement=(),xr-spatial-tracking=()'
}
]

Expand Down

0 comments on commit b682851

Please sign in to comment.