I have a mercure hub written in go and a Procfile at the root of the project. In this Procfile I have a flag:
--cors-allowed-origins='https://mydomain-yes801.app'
It works very well with one domain, But
If I want to change my cors with a regex or two domains like for example:
--cors-allowed-origins='https://mydomain-[a-zA-Z0-9]+.app'
or
--cors-allowed-origins='https://mydomain-yes801.app https://mydomain-yes802.app'
It doesn't work anymore. Is it possible to allow different domain or to use regex ?