vercel rewrites

This commit is contained in:
scarqin 2022-06-30 16:25:08 +08:00
parent 0b86d9ef66
commit 431c2b9fe4

View File

@ -1,9 +1,14 @@
{
"redirects": [
"rewrites": [
{
"source": "/:path((?!en/).*)",
"destination": "/en/:path*",
"permanent": false
},
{
"source": "/:path((?!zh/).*)",
"destination": "/zh/:path*",
"permanent": false
}
]
}