Remove nodeIntegration warning of webview in BrowserWindow
nodeintegration attribute is ignored in React because it's unknown. So fortunately the integration is not working. New 'will-attach-webview' allows us to set nodeIntegration = false.
This commit is contained in:
@@ -233,7 +233,6 @@ const MattermostView = React.createClass({
|
||||
preload={preloadJS}
|
||||
src={this.props.src}
|
||||
ref='webview'
|
||||
nodeintegration='false'
|
||||
/>
|
||||
</div>);
|
||||
}
|
||||
|
Reference in New Issue
Block a user