Skip to content

Commit

Permalink
add bluetooth to permissions policy for iframes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachel Lim committed Dec 15, 2022
1 parent bafe974 commit 95fa5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/modules/IDE/components/PreviewFrame.jsx
Expand Up @@ -24,7 +24,7 @@ function PreviewFrame({ fullView }) {
const frameUrl = previewUrl;
const sandboxAttributes = `allow-forms allow-modals allow-pointer-lock allow-popups
allow-same-origin allow-scripts allow-top-navigation-by-user-activation allow-downloads`;
const allow = `accelerometer; ambient-light-sensor; autoplay; camera; encrypted-media; geolocation; gyroscope; \
const allow = `accelerometer; ambient-light-sensor; autoplay; bluetooth; camera; encrypted-media; geolocation; gyroscope; \
hid; microphone; magnetometer; midi; payment; usb; serial; vr; xr-spatial-tracking`;

return (
Expand Down

0 comments on commit 95fa5d8

Please sign in to comment.