Skip to content

Commit

Permalink
Loosen non-critical Permissions-Policy rules in case Transak changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaw3d committed Aug 10, 2023
1 parent ae63a9f commit 8ed5ec1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions internals/getPermissionHeaders.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,32 +56,32 @@ const getCsp = ({ isExtension } = { isExtension: false }) =>
// Generated with https://www.permissionspolicy.com/
const getPermissionsPolicy = () =>
`
accelerometer=("https://api.sardine.ai"),
ambient-light-sensor=(),
accelerometer=*,
ambient-light-sensor=*,
autoplay=(),
bluetooth=(self),
camera=("https://global.transak.com" "https://global-stg.transak.com"),
camera=*,
cross-origin-isolated=(),
display-capture=(),
document-domain=(),
encrypted-media=(),
encrypted-media=*,
execution-while-not-rendered=(),
execution-while-out-of-viewport=(),
fullscreen=(self "https://global.transak.com" "https://global-stg.transak.com"),
geolocation=(),
gyroscope=("https://api.sardine.ai"),
gyroscope=*,
keyboard-map=(),
magnetometer=(),
microphone=("https://global.transak.com" "https://global-stg.transak.com"),
magnetometer=*,
microphone=*,
midi=(),
navigation-override=(),
payment=("https://global.transak.com" "https://global-stg.transak.com"),
picture-in-picture=(),
publickey-credentials-get=(),
publickey-credentials-get=*,
screen-wake-lock=(),
sync-xhr=(),
usb=(self),
web-share=(),
web-share=*,
xr-spatial-tracking=()
`
.trim()
Expand Down

0 comments on commit 8ed5ec1

Please sign in to comment.