是否可以使用Cloud Functions for Firebase创建默认功能?

时间:2017-04-12 15:03:12

标签: firebase google-cloud-functions

使用Cloud Functions for Firebase创建功能时,您会得到类似这样的网址 - https://firebase-app.cloudfunctions.net/helloWorld - 我希望能够创建一个cname来转到这样的网址 - https://firebase-app.cloudfunctions.net/ - 是否可以创建一个"默认功能"哪个会给我这样的根路径?  如果没有,将来是否可能?

1 个答案:

答案 0 :(得分:1)

首先,您应该尝试使用create your own Express应用并指定路线。

如果这不是您想要的,请file a feature request表示您对此感兴趣。

您还可以尝试通过using a reverse proxy完全控制由云功能支持的您自己的域。