Here we made a simple website using cloud storage and a cloud run as an API . have used manage custom domain for domain mapping . When connected using javascript ,we run into CORS error .
Is there any possibility to map both with cloud storage and the cloud run API as the same domain using cloud DNS perhaps ?
So, the DNS records currently are:
example.com CNAME c.storage.googleapis.com.
we want :
example.com/service pointing to the cloud run custom domain.
I tried with URI redirect but it won't help as again we are getting CORS error.
Thanks