Skip to content

Commit 8cacfda

Browse files
authored
update tutorial-v2-nodejs-desktop.md
Fixing issue https://github.com/MicrosoftDocs/azure-docs/issues/84415. In Eelectron 12 contextIsolation was enabled by default. To restore the previous behavior contextIsolation must be set to false in the current version of Electron. Please follow this link for more details https://www.electronjs.org/docs/latest/breaking-changes?fbclid=IwAR0Rj4Ujb2LAJwt9EJocrMzdTzRul1aIcPYQIPQKoqBdxRTjc853Ev39PWA#default-changed-contextisolation-defaults-to-true
1 parent f69748e commit 8cacfda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

articles/active-directory/develop/tutorial-v2-nodejs-desktop.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ Create a folder to host your application, for example *ElectronDesktopApp*.
153153
width: 800,
154154
height: 600,
155155
webPreferences: {
156-
nodeIntegration: true
156+
nodeIntegration: true,
157+
contextIsolation: false
157158
}
158159
});
159160

0 commit comments

Comments
 (0)