mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-10 08:05:12 +00:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user