You can't run an Electron app on the web without changing code either, seeing as it's a browser AND a webserver combo.
You also don't take a webapp and separate server and just drop the two into a folder and run it as an Electron app without changing code