Files
homepage/vercel.json
T
siujamo 44dc28dbb3
Deploy to GitHub Pages / build (push) Failing after 7m30s
Deploy to GitHub Pages / deploy (push) Has been skipped
feat: add Vercel geo-redirect config for China mainland visitors
Use vercel.json redirects with the x-vercel-ip-country header condition
to route mainland China visitors to the ICP-licenced server.
2026-05-27 10:04:29 +08:00

17 lines
279 B
JSON

{
"redirects": [
{
"source": "/:path(.*)",
"has": [
{
"type": "header",
"key": "x-vercel-ip-country",
"value": "CN"
}
],
"destination": "https://onixbyte.cn/:path*",
"permanent": false
}
]
}