mirror of
https://github.com/xHyroM/website.git
synced 2024-11-10 01:38:05 +01:00
43 lines
1 KiB
JSON
43 lines
1 KiB
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/distools-api/introduction"
|
|
},
|
|
{
|
|
"source": "/docs/",
|
|
"destination": "/docs/distools-api/introduction"
|
|
},
|
|
{
|
|
"source": "/docs/distools-api",
|
|
"destination": "/docs/distools-api/introduction"
|
|
},
|
|
{
|
|
"source": "/docs/peddlerspocket",
|
|
"destination": "/docs/peddlerspocket/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"
|
|
}
|
|
]
|
|
}
|