I deploy my web app with Netifly.
It has preview environment that looks this way:
"randomonstring33712638126--domaincom.netlify.app"
And I have a python function at Google Cloud, that I want to secure with allow-origin. How can I allow origin for all domains that ends with --domaincom.netlify.app?
I tried this, but seems like it's not working:
ALLOW_ORIGIN = 'https://domain[dot]com/, https://*--domaincom.netlify.app/'
Thank you for any help.