【发布时间】:2021-08-07 01:33:24
【问题描述】:
有什么办法可以在 firebase.json 中重写这个 URL 吗?
http://localhost/api/随便/product.json
成为
http://localhost/api/product.json
whatever 表示任何类型的路径,所以我希望如果我们插入那个 whatever 路径,那么浏览器将不会重定向到 404,而是重定向到
http://localhost/api/product.json
谢谢
【问题讨论】:
标签: firebase redirect url-rewriting firebase-hosting