fix(docs): use internal script (#10870)

This changes the source of a script to an internal url to prevent CSP
errors.

# Which Problems Are Solved

Our documentation feedback script was not loaded due to being blocked by
the CSP

# How the Problems Are Solved

By internally routing to a proxy, we do not have to add external urls to
the CSP
This commit is contained in:
Max Peintner
2025-10-08 12:23:18 +00:00
committed by GitHub
parent 3ed3b5ee59
commit fc5397c1a2
2 changed files with 15 additions and 16 deletions
+6 -1
View File
@@ -18,6 +18,11 @@ module.exports = {
"data-domain": "zitadel.com",
"data-api": "/docs/proxy/api/event",
},
{
src: "/docs/proxy/js/feedback",
async: true,
defer: true,
},
],
customFields: {
description:
@@ -452,7 +457,7 @@ module.exports = {
},
],
markdown: {
mermaid:true,
mermaid: true,
},
themes: [
"docusaurus-theme-github-codeblock",