ci: add redirects

This commit is contained in:
xHyroM 2023-01-06 23:14:39 +01:00
parent 626aa306ab
commit f9a0f63443
2 changed files with 16 additions and 13 deletions

View file

@ -1,3 +0,0 @@
<script>
window.location.pathname = "/docs/items/nadpis/introduction";
</script>

View file

@ -2,12 +2,18 @@
"headers": [
{
"source": "/(.*)",
"headers" : [
"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'"
"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/items/nadpis/introduction"
}
]
}