Disable remote module in stream views

This commit is contained in:
Max Goodhart
2020-08-24 01:48:06 -07:00
parent 31516b4a22
commit 6e2db3e1c8

View File

@@ -127,6 +127,7 @@ export default class StreamWindow extends EventEmitter {
const view = new BrowserView({
webPreferences: {
nodeIntegration: false,
enableRemoteModule: false,
contextIsolation: true,
partition: 'persist:session',
sandbox: true,