mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-10-31 12:03:39 +00:00 
			
		
		
		
	main: Enable contextIsolation for BrowserWindow.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		| @@ -66,7 +66,7 @@ function createMainWindow(): Electron.BrowserWindow { | ||||
|     minWidth: 500, | ||||
|     minHeight: 400, | ||||
|     webPreferences: { | ||||
|       contextIsolation: false, | ||||
|       contextIsolation: true, | ||||
|       partition: "persist:webviewsession", | ||||
|       preload: require.resolve("../renderer/js/main"), | ||||
|       webviewTag: true, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user