mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-06 16:47:39 +00:00
chore(docs): remove analytics proxy from preview (#4842)
* chore(docs): analytics proxy fix * Update netlify.toml
This commit is contained in:
parent
065250a108
commit
a1dfe02cf2
@ -1,6 +1,3 @@
|
||||
[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]]
|
||||
@ -8,19 +5,7 @@
|
||||
to = "/:splat"
|
||||
status = 200
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "/proxy/js/script.js"
|
||||
to = "https://plausible.io/js/script.outbound-links.js"
|
||||
status = 200
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "/proxy/api/event"
|
||||
to = "https://plausible.io/api/event"
|
||||
status = 202
|
||||
force = true
|
||||
|
||||
|
||||
[[headers]]
|
||||
for = "/*"
|
||||
[headers.values]
|
||||
@ -28,8 +13,3 @@
|
||||
max-age=31536000;
|
||||
includeSubDomains;
|
||||
preload'''
|
||||
|
||||
[[redirects]]
|
||||
from = "/quickstarts/introduction"
|
||||
to = "/examples/introduction"
|
||||
status = 301
|
||||
|
Loading…
x
Reference in New Issue
Block a user