Can I use wildcards or regexs for check_origin on sockets?

I have four different websites that can connect to my phoenix app, and each has multiple staging sites and also may or may not have “www” preceding the domain name. It is laborious to list them all – can I use wildcards or a regexes instead?


1 Like