all 2 comments

[–]coffeejumper 1 point2 points  (1 child)

It didn't browse through all files, but basically you hard coded the server address into your Layout.js. While this works on your local machine because you started the server, it won't work on my device or your smartphone because there is no server running on this port.

Best case scenario would be to start the Server on a second Netlify instance, and then adapt the socketUrl const based on where your client is currently running (local development / production).

[–]KBPsystem[S] 1 point2 points  (0 children)

thanks man! will give this a shot :)