Skip to content

Commit

Permalink
feat: redirect without trailing slash (#630)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelle authored Nov 6, 2024
1 parent a6b2b8e commit dacffba
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
{
"cleanUrls": true,
"redirects": [
{
"source": "/",
"destination": "https://plus.excalidraw.com/blog",
"permanent": true
},
{
"source": "/(.*)/",
"destination": "https://plus.excalidraw.com/blog/$1",
"permanent": true
},
{
"source": "/(.*)",
"destination": "https://plus.excalidraw.com/blog/$1",
Expand Down

0 comments on commit dacffba

Please sign in to comment.