Answer the question
In order to leave comments, you need to log in
How to set up CORS for Socket.io inside Docker container + PM2?
When I try to run an Express application inside a docker container, I get the following error. I tried to install already npm-cors, I added the headers by hand. Everything works fine either outside the docker container, or without Pm2, but doesn’t want to at the same time. Same thing with forever. I will be glad to ideas.
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