mirror of
https://github.com/xHyroM/website.git
synced 2024-12-22 12:31:06 +01:00
47 lines
1 KiB
JSON
47 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/dux/introduction"
|
|
},
|
|
{
|
|
"source": "/docs/",
|
|
"destination": "/docs/dux/introduction"
|
|
},
|
|
{
|
|
"source": "/docs/dux",
|
|
"destination": "/docs/dux/introduction"
|
|
},
|
|
{
|
|
"source": "/docs/distroid",
|
|
"destination": "/docs/distroid/introduction"
|
|
},
|
|
{
|
|
"source": "/docs/peddlerspocket",
|
|
"destination": "/docs/peddlerspocket/introduction"
|
|
},
|
|
{
|
|
"source": "/docs/distools-api",
|
|
"destination": "/docs/dux/introduction"
|
|
},
|
|
{
|
|
"source": "/docs/distools-api/:name",
|
|
"destination": "/docs/dux/:name"
|
|
},
|
|
{
|
|
"source": "/blog/:name",
|
|
"destination": "/blog/posts/:name"
|
|
}
|
|
]
|
|
}
|