Nuxt js CORS origin issue #3754
Answered
by
darrachequesne
mahiraltinkaya
asked this question in
Q&A
-
Hello there; I am trying to establish a socket connection between Nuxt js and node js. I've also tried generic solutions for a problem I have never experienced before. I share the configuration below. Can you give information about the error? |
Beta Was this translation helpful? Give feedback.
Answered by
darrachequesne
Jan 14, 2021
Replies: 1 comment
-
Which version of the Socket.IO server are you using? From the screenshots, I guess you are using Socket.IO client v2 ( CORS in v2: https://socket.io/docs/v2/handling-cors/ |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
darrachequesne
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which version of the Socket.IO server are you using?
From the screenshots, I guess you are using Socket.IO client v2 (
?EIO=3
). Please make sure to use the same version on the server and the client.CORS in v2: https://socket.io/docs/v2/handling-cors/
CORS in v3: https://socket.io/docs/v3/handling-cors/