Closed wobeng closed 7 years ago
What do you mean "all subdomain"? If you want to support all subdomains under a root, e.g.
api.domain.com, www.domain.com, all you need is ".*\.domain\.com"
The strings are matched using standard Python Regex, so to test, you can just run it in the repl:
import re
>>> re.match(".*\.domain\.com","example.domain.com", flags=re.IGNORECASE)
<_sre.SRE_Match object at 0x106037bf8>
>>> re.match(".*\.domain\.com","domain.com", flags=re.IGNORECASE)
sorry for reopening. Just to confirm, I can add
https://..app.domain.com and https://..app.domain.com
in the origins list and it should work?