Skip to content

Commit

Permalink
fix: create redirects with vercel.json
Browse files Browse the repository at this point in the history
  • Loading branch information
vannyle committed Jun 23, 2022
1 parent 0d81a6e commit 9b9b8f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
11 changes: 0 additions & 11 deletions docs/next.config.js

This file was deleted.

9 changes: 9 additions & 0 deletions docs/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"redirects": [
{
"source": "/docs/:slug*",
"destination": "/:slug*",
"permanent": true
}
]
}

0 comments on commit 9b9b8f3

Please sign in to comment.