Passing URL parameter to the cloud function name

110 views
Skip to first unread message

Ihab Ali

unread,
Sep 30, 2021, 9:12:17 AM9/30/21
to Google Cloud Developers
Hello,

I was able to successfully link my custom domain to Google Cloud Functions URLs,
But I need to configure that every URL pass the parameter name to be directed to cloud function name with the same name since I will need to frequently deploy too many functions

For example when I open api.example.com/test should be pointed to the function: test

I have tried this code below but didn't work

"rewrites": [
{
"source": "/**",
"function": "**"
}
]


Anyone could help on suggesting a solution?
Thanks!
Reply all
Reply to author
Forward
0 new messages