chore: move vercel.json to subdirs (#776)
This commit is contained in:
parent
c044e62a08
commit
e129cde67d
3 changed files with 25 additions and 5 deletions
10
docs/vercel.json
Normal file
10
docs/vercel.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"cleanUrls": true,
|
||||
"trailingSlash": false,
|
||||
"redirects": [
|
||||
{
|
||||
"source": "/",
|
||||
"destination": "/getting-started"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"cleanUrls": true,
|
||||
"trailingSlash": false,
|
||||
"redirects": [{ "source": "/chat", "destination": "https://discord.gg/grF4GTXXYm" }]
|
||||
}
|
15
www/vercel.json
Normal file
15
www/vercel.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue