Skip to content

Commit

Permalink
Perform redirect in vercel (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianMachado authored Dec 12, 2024
1 parent 8c89e22 commit e6949d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,6 @@ yarn.lock
public/robots.txt
public/sitemap.xml
public/sitemap-*.xml
api.json
api.json
build/
.next/
5 changes: 5 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
"installCommand": "npm install",
"outputDirectory": "dist",
"redirects": [
{
"source": "/docs{/}?",
"destination": "/docs/articles/what-is-zuplo",
"permanent": true
},
{
"source": "/docs/articles/local-development-api-keys",
"destination": "/docs/articles/local-development-services",
Expand Down

0 comments on commit e6949d0

Please sign in to comment.