website/vercel.json

35 lines
856 B
JSON

{
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Content-Security-Policy",
"value": "img-src 'self'; font-src *; style-src 'self' 'unsafe-inline' fonts.googleapis.com; script-src 'self' 'unsafe-inline'; object-src 'none'"
}
]
}
],
"redirects": [
{
"source": "/docs",
"destination": "/docs/discord-experiments-api/introduction"
},
{
"source": "/docs/",
"destination": "/docs/discord-experiments-api/introduction"
},
{
"source": "/docs/discord-experiments-api",
"destination": "/docs/distools-api/introduction"
},
{
"source": "/docs/discord-experiments-api/:name",
"destination": "/docs/distools-api/:name"
},
{
"source": "/blog/:name",
"destination": "/blog/posts/:name"
}
]
}