jpillora / xdomain

A pure JavaScript CORS alternative
https://jpillora.com/xdomain/
3.12k stars 269 forks source link

Can We Use Wildcard in URL? #166

Closed darrindickey closed 8 years ago

darrindickey commented 9 years ago

Is is possible to use wildcards in domain when declaring master and slave? We serve multiple versions of our app from a main domain.

jpillora commented 8 years ago

Wildcards work for declaring masters (slaves can allow any number of domains to proxy through them) though wildcards don't work for declaring slaves (since each slave, each different domain must have its own proxy.html). It would be possible though it's not implemented yet.

ganeshbuddy commented 2 years ago

@jpillora Is it possible to use now?