I have index.html in my Electron app. I want to start a web server on http://localhost:8587 and open http://localhost:8587/index.html inside the Electron app. I'm not sure how to go about doing this. I think I have to use require('http'); somehow but I looked it up on the Node website but it's a bit overwhelming for me.
Submitted April 09, 2018 at 09:32PM by sprite-1
No comments:
Post a Comment