Hi all, I'm adapting a web app for the desktop. I have my API server using express.js and SQLite running in the preload process. If I make a request from the renderer process, it doesn't make it to the server. Is this expected behaviour? I'm aware of the security model, but I'm not clear on whether ports are open between these two processes.
Also, should I be running my server in preload, or should I spawn it as a node process in main? Can that be done in a secure way?
Thanks for any advice!