Deploying functions to "subdirectories"
Hello,
I'm trying to get started with Firebase functions. Deploying functions to...
https://MY_REGION-MY_PROJECT_ID.cloudfunctions.net/FUNCTION_NAME
...is working well. However, what I'd like to do is deploy to:
https://MY_REGION-MY_PROJECT_ID.cloudfunctions.net/v2/FUNCTION_NAME
I think I've done a reasonable job of reading through the documentation, but I haven't been able to find how to do this. Any assistance/advice?
Thank you.
(P.S. Would GitHub be a better place to ask for help?)
Posted Oct 21, 2019, 7:03 PM UTC
If you write your functions using the Express framework (or something else, but Express is especially supported) you can accomplish this.