You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on a whim (and in part to learn how this package works better) I designed a sveltekit application to connect to my own PeerServer hosted on my computer and let me and my friends test our mashing skills against each other.
Problem: When testing it via vite dev --host on my own computer (website running on port 5137 and peerjs running on another port on docker) it works just fine. im able to have 2 or more people not only access the thing but play against each other in 1v1s. BUT, I use netlify to host projects sometimes and I figured I might as well do this one and for some reason, server running, the netlify can't access the peerjs server. haven't tried with the normal peerjs server.
Extra Things of Note:
I disabled SSR, because otherwise peerjs errors saying that navigator does not exist (it does, I literally was using it to get the controllers but whatever).
For now im just gonna run it for my friends through running it from code, but I'd love to see if there's a solution so I can send the netlify link to my discord without doxxing myself.
The text was updated successfully, but these errors were encountered:
on a whim (and in part to learn how this package works better) I designed a sveltekit application to connect to my own PeerServer hosted on my computer and let me and my friends test our mashing skills against each other.
Problem: When testing it via vite dev --host on my own computer (website running on port 5137 and peerjs running on another port on docker) it works just fine. im able to have 2 or more people not only access the thing but play against each other in 1v1s. BUT, I use netlify to host projects sometimes and I figured I might as well do this one and for some reason, server running, the netlify can't access the peerjs server. haven't tried with the normal peerjs server.
Extra Things of Note:
I disabled SSR, because otherwise peerjs errors saying that navigator does not exist (it does, I literally was using it to get the controllers but whatever).
For now im just gonna run it for my friends through running it from code, but I'd love to see if there's a solution so I can send the netlify link to my discord without doxxing myself.
The text was updated successfully, but these errors were encountered: