Skip to content

Commit 358f2c2

Browse files
Sandbox the simulator iframe. (#959)
1 parent b0912ed commit 358f2c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/simulator/Simulator.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ const Simulator = ({
111111
frameBorder="no"
112112
scrolling="no"
113113
allow="autoplay;microphone"
114+
sandbox="allow-scripts allow-same-origin"
114115
/>
115116
</AspectRatio>
116117
<SimulatorActionBar

0 commit comments

Comments
 (0)