--

You forgot to add the IPC handler to your main process in main.js

ipcMain.handle('request', async (_, axios_request) => {
const result = await axios(axios_request)
return { data: result.data, status: result.status }
})

--

--

Michael T. Andemeskel
Michael T. Andemeskel

Written by Michael T. Andemeskel

I write code and occasionally, bad poetry. Thankfully, my code isn’t as bad as my poetry.

Responses (1)