mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-07 07:28:57 +00:00
docs: fix preview link (#4965)
test netlify Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
parent
b1d7433eba
commit
83f96b49aa
4
.gitignore
vendored
4
.gitignore
vendored
@ -66,4 +66,6 @@ migrations/cockroach/migrate_cloud.go
|
|||||||
/zitadel
|
/zitadel
|
||||||
|
|
||||||
go.work
|
go.work
|
||||||
go.work.sum
|
go.work.sum
|
||||||
|
# Local Netlify folder
|
||||||
|
.netlify
|
||||||
|
@ -1,15 +1,3 @@
|
|||||||
[[redirects]]
|
|
||||||
from = "/docs/guides/deploy/*"
|
|
||||||
to = "/docs/self-hosting/deploy/:splat"
|
|
||||||
status = 301
|
|
||||||
force = true
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/docs/guides/manage/self-hosted/*"
|
|
||||||
to = "/docs/self-hosting/manage/:splat"
|
|
||||||
status = 301
|
|
||||||
force = true
|
|
||||||
|
|
||||||
# This is a workaround to address the problem around the baseUrl from docusaurus
|
# 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
|
# Be aware that this prevents the usage of the path /docs/docs
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
@ -17,6 +5,12 @@
|
|||||||
to = "/:splat"
|
to = "/:splat"
|
||||||
status = 200
|
status = 200
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
|
[[redirects]]
|
||||||
|
from = "/"
|
||||||
|
to = "/docs"
|
||||||
|
status = 302
|
||||||
|
force = true
|
||||||
|
|
||||||
[[headers]]
|
[[headers]]
|
||||||
for = "/*"
|
for = "/*"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user