chore: move vercel.json to subdirs (#776)

This commit is contained in:
Nate Moore 2021-07-20 14:04:35 -05:00 committed by GitHub
parent c044e62a08
commit e129cde67d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 5 deletions

10
docs/vercel.json Normal file
View file

@ -0,0 +1,10 @@
{
"cleanUrls": true,
"trailingSlash": false,
"redirects": [
{
"source": "/",
"destination": "/getting-started"
}
]
}

View file

@ -1,5 +0,0 @@
{
"cleanUrls": true,
"trailingSlash": false,
"redirects": [{ "source": "/chat", "destination": "https://discord.gg/grF4GTXXYm" }]
}

15
www/vercel.json Normal file
View file

@ -0,0 +1,15 @@
{
"cleanUrls": true,
"trailingSlash": false,
"redirects": [
{
"source": "/docs/:match*",
"destination": "https://docs.astro.build/:match*",
"permanent": false
},
{
"source": "/chat",
"destination": "https://discord.gg/grF4GTXXYm"
}
]
}