So we have made a google cloud function with an HTTP trigger. My aim is not to include firebase in this project.
How can I use my custom domain to connect to google cloud function using cloud DNS or something equivalent?
I already tried using a CNAME record but it didn't work as expected.
The Aim is to avoid CROS when we invoke it using Javascript/JQuery.
Thanks in advance.