Support resource urls in `request()` and `requestUrl()`

const url = Platform.resourcePrefixPath + fullFileSystemPath;
await fetch(url); // works
await request(url) // doesn't work, because internally it invokes `ipcRenderer.send('request-url')` which never ends
await requestUrl({ url }) // same as above

The never ending loop will be fixed in v.1.8.0.

Renamed this thread for the future.

2 Likes