diff --git a/web/scripts/verify-dist.mjs b/web/scripts/verify-dist.mjs index a2de9c3..14cb326 100644 --- a/web/scripts/verify-dist.mjs +++ b/web/scripts/verify-dist.mjs @@ -145,6 +145,29 @@ if (!existsSync(join(dist, "privacy/index.html"))) { problems.push("privacy/index.html missing — the store listing links it"); } +// The architecture diagram is inlined SVG under the same CSP as everything +// else: `script-src` has no 'unsafe-inline' and `style-src` is bare 'self', +// which covers inline SVG in the document. A regenerated diagram that brought +// Mermaid's own