mirror of
https://github.com/xHyroM/website.git
synced 2024-12-22 20:41:05 +01:00
ci: add redirects
This commit is contained in:
parent
626aa306ab
commit
f9a0f63443
2 changed files with 16 additions and 13 deletions
|
@ -1,3 +0,0 @@
|
|||
<script>
|
||||
window.location.pathname = "/docs/items/nadpis/introduction";
|
||||
</script>
|
26
vercel.json
26
vercel.json
|
@ -1,13 +1,19 @@
|
|||
{
|
||||
"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'"
|
||||
}
|
||||
]
|
||||
}
|
||||
{
|
||||
"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/items/nadpis/introduction"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue