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

@ -1,13 +1,19 @@
{ {
"headers": [ "headers": [
{ {
"source": "/(.*)", "source": "/(.*)",
"headers" : [ "headers": [
{ {
"key" : "Content-Security-Policy", "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'" "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"
}
] ]
} }