S
S
SvizzZzy2017-02-12 20:20:13
Node.js
SvizzZzy, 2017-02-12 20:20:13

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?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BestJS, 2017-02-12
@BestJS

try this
io.set('origins', '*.domain.com');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question