Answer the question
In order to leave comments, you need to log in
How to deploy Socket Io to Zeit (Now, Vercel)?
I'm making a chat, trying to deploy it to the zeit.co platform.
There is a problem, in order for everything to work, you need to access it through api, like this:
https://site.com/api/users
So the platform will understand that you need to run the users.js file in api
I'm trying to connect like this, but it doesn't work.
openSocket(`https://site.com/api`)
How to do everything right?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question