Categories
How to allow all socket.io set origins subdomains?
Hello. I can't understand why this construction doesn't work: io.set('origins', '*.domain.com:*'); So that all .domain.com subdomains can connect to the server?
io.set('origins', '*.domain.com:*');
Answer the question
In order to leave comments, you need to log in
try this io.set('origins', '*.domain.com');
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question