-
Notifications
You must be signed in to change notification settings - Fork 59
Getting the socket to work on localhost #1
Copy link
Copy link
Open
Description
Hi,
I'm trying to get this template to work for localhost development, but so far I've been unsuccessful.
So far, I've taken the following steps:
- modify
wrangler.tomlto include myaccound_id - change the websocket protocol from
wsstowsfor running on localhost - run
wrangler dev
However, when visit http://127.0.0.1:8787/ it throws a 400 as it's missing the upgrade header.
Any ideas on how to get rid of this? We want to try using webworker sockets for a multiplayer functionality at Candu, but I'm stuck on how to get setup on localhost development.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels