Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
feat(webview): disable node-integration for webview
Browse files Browse the repository at this point in the history
  • Loading branch information
Lasse Kuechler authored and lkuechler committed Feb 9, 2018
1 parent 928e01c commit 2d7d75e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lsg/patterns/panes/preview-pane/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default class PreviewPane extends React.Component<PreviewPaneProps> {
<StyledPreviewPane
dangerouslySetInnerHTML={{
__html: `<webview id="preview" style="height: 100%; border-radius: 6px 6px 0 0; overflow: hidden;" src="${previewFrame ||
'./preview.html'}" preload="../../build/component/preview.js" partition="electron" nodeintegration />`
'./preview.html'}" preload="../../build/component/preview.js" partition="electron" />`
}}
/>
);
Expand Down

0 comments on commit 2d7d75e

Please sign in to comment.