mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
0f28033a9d
* feat: add rewrite to play.astro.build * fix: subpath redirects
26 lines
526 B
JSON
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*"
|
|
}
|
|
]
|
|
}
|