JSON Schema for tatnet.json / vercel.json in TatNet-hosted apps.
TatNet reads a tatnet.json (or vercel.json) from the root of your
app and applies its headers, redirects and rewrites at
the edge — Vercel-parity. There is no platform CORS by default: declare any
Access-Control-Allow-Origin you need via a headers rule.
Add this to the top of your config for editor autocomplete & validation:
{
"$schema": "https://openapi.tatnet.ru/tatnet.json",
"headers": [
{
"source": "/(.*)",
"headers": [
{ "key": "Access-Control-Allow-Origin", "value": "*" }
]
}
]
}