mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-14 09:55:12 +00:00
chore(docs): fix links for domain migration (#4831)
* chore(docs): fix links for domain migration * try trailing slash for netlify * trial * fix typo * test path * try preview proxied * test local proxy * try to define the domain with redirect to /docs * remove build commands * debug netlify router and fix image link * working config * fix analytics
This commit is contained in:
+10
-2
@@ -1,6 +1,14 @@
|
||||
[build]
|
||||
command = "npm run build"
|
||||
|
||||
# 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 = "/proxy/js/script.js"
|
||||
to = "https://plausible.io/js/script.outbound-links.js"
|
||||
@@ -22,6 +30,6 @@
|
||||
preload'''
|
||||
|
||||
[[redirects]]
|
||||
from = "/docs/quickstarts/introduction"
|
||||
to = "/docs/examples/introduction"
|
||||
from = "/quickstarts/introduction"
|
||||
to = "/examples/introduction"
|
||||
status = 301
|
||||
|
||||
Reference in New Issue
Block a user