Skip to content

Commit 84b30f3

Browse files
author
lukaw3d
committed
Loosen non-critical Permissions-Policy rules in case Transak changes
1 parent 786939b commit 84b30f3

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

internals/getPermissionHeaders.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,32 +56,32 @@ const getCsp = ({ isExtension } = { isExtension: false }) =>
5656
// Generated with https://www.permissionspolicy.com/
5757
const getPermissionsPolicy = () =>
5858
`
59-
accelerometer=("https://api.sardine.ai"),
60-
ambient-light-sensor=(),
59+
accelerometer=*,
60+
ambient-light-sensor=*,
6161
autoplay=(),
6262
bluetooth=(self),
63-
camera=("https://global.transak.com" "https://global-stg.transak.com"),
63+
camera=*,
6464
cross-origin-isolated=(),
6565
display-capture=(),
6666
document-domain=(),
67-
encrypted-media=(),
67+
encrypted-media=*,
6868
execution-while-not-rendered=(),
6969
execution-while-out-of-viewport=(),
7070
fullscreen=(self "https://global.transak.com" "https://global-stg.transak.com"),
7171
geolocation=(),
72-
gyroscope=("https://api.sardine.ai"),
72+
gyroscope=*,
7373
keyboard-map=(),
74-
magnetometer=(),
75-
microphone=("https://global.transak.com" "https://global-stg.transak.com"),
74+
magnetometer=*,
75+
microphone=*,
7676
midi=(),
7777
navigation-override=(),
7878
payment=("https://global.transak.com" "https://global-stg.transak.com"),
7979
picture-in-picture=(),
80-
publickey-credentials-get=(),
80+
publickey-credentials-get=*,
8181
screen-wake-lock=(),
8282
sync-xhr=(),
8383
usb=(self),
84-
web-share=(),
84+
web-share=*,
8585
xr-spatial-tracking=()
8686
`
8787
.trim()

0 commit comments

Comments
 (0)