mirror of
https://github.com/electron/electron.git
synced 2026-02-09 14:45:29 -05:00
7 lines
203 B
JavaScript
7 lines
203 B
JavaScript
const { ipcRenderer } = require('electron');
|
|
|
|
// Ensure fetch works from isolated world origin
|
|
fetch('https://localhost:1234').catch(err => {
|
|
ipcRenderer.send('isolated-fetch-error', err.message);
|
|
});
|