jquery - electron use post request fails -
i trying turn node app desktop using electron. in current code use "post" request , res.send() return data node script. express handles end points.
however, when try , use same code electron get
net::err_connection_refused
i have spent lots of time trying figure solution , seems caused cors issue , have added
"web-preferences": { "web-security": false }
to electron browserwindow config has not helped.
can share sample of doing jquery post request in electron. big help. thanks
Comments
Post a Comment