I am running a socket.io server on Replit and want to make an electron app that can communicate with it. I'm using
app.get('/', (req, res) => {
res.sendFile(__dirname + '/client/index.html');
});
this code to send the files, but I'm not sure if this will work with electron. What should the electron script look like?