【发布时间】:2019-09-01 20:39:40
【问题描述】:
首先,我必须为 API 选择一个路径,为常规网站选择第二个路径, 所以我想像这样将 API 分离为子域
"rewrites":[
{
"source":"domain.com/**",
"destination":"/index.html"
},
{
"source": "api.domain.com/**",
"function": "app"
}
]
我尝试了很多方法,但都失败了,我该怎么做?
【问题讨论】:
标签: node.js firebase firebase-hosting