Skip to content

Commit

Permalink
sandbox="allow-same-origin allow-scripts" (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykzts authored Aug 21, 2018
1 parent 330dcd5 commit d779366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Preview.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export default class Preview extends React.Component<Props, State> {
<iframe
className={classNames({ active: frameHeight > 0 })}
ref={this.frameRef}
sandbox
sandbox="allow-same-origin allow-scripts"
src={previewPath}
style={{ height: `${frameHeight}px` }}
title={`${previewPath} on frame`}
Expand Down

0 comments on commit d779366

Please sign in to comment.