最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

node.js - Using virtual ip on electron - Stack Overflow

programmeradmin0浏览0评论

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);
发布评论

评论列表(0)

  1. 暂无评论