0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/www/vercel.json
Nate Moore 0f28033a9d
Add astro.build/play link (#1359)
* feat: add rewrite to play.astro.build

* fix: subpath redirects
2021-09-13 16:47:33 -05:00

26 lines
526 B
JSON

{
"cleanUrls": true,
"trailingSlash": false,
"redirects": [
{
"source": "/docs/:match*",
"destination": "https://docs.astro.build/:match*",
"permanent": false
},
{
"source": "/posts/:match*",
"destination": "blog/:match*",
"permanent": false
},
{
"source": "/chat",
"destination": "https://discord.gg/grF4GTXXYm"
}
],
"rewrites": [
{
"source": "/play/:match*",
"destination": "https://play.astro.build/play/:match*"
}
]
}