Skip to content

Commit

Permalink
add 301 redirects for all pages
Browse files Browse the repository at this point in the history
Remove /docs/ from URL and redirect remaining remaining portion of URL at root.

Signed-off-by: Mike Szczys <[email protected]>
  • Loading branch information
szczys committed Oct 29, 2024
1 parent e00c6d9 commit 8a4a347
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"redirects": [
{
"source": "/docs/:urlpath*",
"destination": "/:urlpath",
"type": 301
}
]
}
}

0 comments on commit 8a4a347

Please sign in to comment.