【发布时间】:2019-08-19 10:13:32
【问题描述】:
有人知道如何删除之后的所有内容吗?在 firebase 的 url 中?
我只尝试了重定向,然后在此之上重写。
"redirects": [
{ "type": 302, "source": "/testMenuBrowse.php?cat=36", "destination": "/" }
],
"rewrites": [
{ "type": 302, "source": "/testMenuBrowse{,/**}", "destination": "/" }
],
无论我做什么,最终 URL 都是http://www.example.com/?cat=36
【问题讨论】:
标签: firebase redirect firebase-hosting