chore: security
This commit is contained in:
parent
f08d0bfda7
commit
4b798da3e8
|
@ -29,6 +29,7 @@ async function createWindow() {
|
||||||
height: 600,
|
height: 600,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
contextIsolation: true,
|
contextIsolation: true,
|
||||||
|
nodeIntegration: false,
|
||||||
},
|
},
|
||||||
width: 800,
|
width: 800,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user