Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Commit 04613ff

Browse files
committed
🔒 Lock nodeIntegration in subframes to false
1 parent 13169e3 commit 04613ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/_boot.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ function createWindow(settings) {
138138
backgroundThrottling: false,
139139
webSecurity: true,
140140
nodeIntegration: true,
141+
nodeIntegrationInSubFrames: false,
141142
allowRunningInsecureContent: false,
142143
experimentalFeatures: settings.experimentalFeatures || false
143144
}

0 commit comments

Comments
 (0)