I'm building an electron app that act like browser. I'm using express and cors. From my websites database I take virtual ip. And I need to open a spesific login page using that virtual ip from my app. But whatever I try, that login page gets my ip address instead virtual one. Do you have any suggestions?
I tried using proxy but with that code couldn't open app.
proxyRules: `http=${virtualIp};https=${virtualIp}`
}).then(() => {
mainWindow.loadURL(loginUrl);