Electron is blocking http images from https page


I’m running into interesting issue. When my app is not packed I can run the site without issues…all images for the external website are loaded. Once I pack the app and run it, non of the images served over http are not loaded to my https page.

Window = new BrowserWindow({
    width: 600, 
    height: 600, 
    'node-integration': true, 
    'web-security': false, 
    transparent: false, 
    frame: false

I know there is a setting web-security but even if is set to false still none of the images are loaded.??? Tested on ELectron 1.4.4 & 1.4.3 what is strange the issue only occur whan tha app is packed via electron-packager.

Any ideas? Thanks


The issue has been resolved…FYI the new object should be specified this way:

{width: 1366, height: 768, fullscreen:false, nodeIntegration: true, webPreferences: {webSecurity: false}, transparent: false, frame: true}