website/vercel.json

27 lines
623 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": "/blog/:name",
"destination": "/blog/posts/:name"
}
]
}