mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-06 13:37:40 +00:00
chore: use vercel instead of netlify for the docs page (#5211)
This commit is contained in:
parent
d050e9cd27
commit
8f8075851e
@ -1,21 +0,0 @@
|
||||
# This is a workaround to address the problem around the baseUrl from docusaurus
|
||||
# Be aware that this prevents the usage of the path /docs/docs
|
||||
[[redirects]]
|
||||
from = "/docs/*"
|
||||
to = "/:splat"
|
||||
status = 200
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "/"
|
||||
to = "/docs"
|
||||
status = 302
|
||||
force = true
|
||||
|
||||
[[headers]]
|
||||
for = "/*"
|
||||
[headers.values]
|
||||
Strict-Transport-Security = '''
|
||||
max-age=31536000;
|
||||
includeSubDomains;
|
||||
preload'''
|
8
docs/vercel.json
Normal file
8
docs/vercel.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"rewrites": [
|
||||
{ "source": "/docs/:match*", "destination": "/:match*" }
|
||||
],
|
||||
"redirects": [
|
||||
{ "source": "/", "destination": "/docs" }
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user