Skip to content

Commit

Permalink
Redirects *.html to base (cfug#1384)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenglu authored Nov 20, 2023
1 parent d32c6b7 commit e275987
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
"**/node_modules/**"
],
"rewrites": [],
"redirects": [],
"redirects": [
{ "regex": "(?P<basename>.*)\\.html$", "destination": ":basename", "type": 301 },
{ "regex": "(?P<basename>.*)\\.$", "destination": ":basename", "type": 301 }
],
"headers": [
{
"source": "/f/*.json",
Expand Down

0 comments on commit e275987

Please sign in to comment.