2018-09-13 16:10:51 +00:00
|
|
|
const { ipcRenderer } = require('electron')
|
2018-08-31 20:51:29 +00:00
|
|
|
|
|
|
|
// Ensure fetch works from isolated world origin
|
|
|
|
fetch('https://localhost:1234').catch(err => {
|
|
|
|
ipcRenderer.send('isolated-fetch-error', err.message)
|
|
|
|
})
|