mirror of
https://github.com/xHyroM/website.git
synced 2024-11-22 15:01: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": [
|
"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"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue