Skip to content

graphql-ws and Vite proxy #543

Answered by enisdenjo
v-vitenko asked this question in Q&A
Discussion options

You must be logged in to vote

WebSockets URL must specify the scheme (ws://) and must be absolute (see MDN here).

If your Vite is at port 5173, the URL should then be ws://localhost:5173/ws.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by enisdenjo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants