Commit 55bd5c0
authored
fix(front): Remove mermaid sandboxing as it conflicts with csp (#621)
## 📝 Description
Default sandboxing provided by mermaid-js is not compatible with our
CSPs since it uses src=`data:...` to forward the content that should be
rendered in the iframe, so we're falling back to `secure`.
## ✅ Checklist
- [ ] I have tested this change
- [ ] This change requires documentation update1 parent a0b8383 commit 55bd5c0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments