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

Popular posts from this blog

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -