Swadeep006 commented on issue #408: URL: https://github.com/apache/incubator-hugegraph-doc/issues/408#issuecomment-3636037082
Hi @imbajin , thanks for pointing out the temporary solution and the CSP warning. To avoid violating ASF website rules, I’ll work on a better approach! Plan: >Remove the external CDN reference to Mermaid. >Self-host mermaid.min.js inside the HugeGraph docs repo (e.g., under static/js/). >Update head-end.html to load the script locally via 'self', which is allowed by the CSP. >Test that Mermaid diagrams render correctly without triggering any external resource warnings. This should resolve the CSP violation and still enable Mermaid rendering. I’ll proceed with this approach and update once I have a working solution. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
