-
Is there a way to stop Here is my config:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
Can you specify which "inline scripts" are you exactly referring to? |
Beta Was this translation helpful? Give feedback.
-
I just wanted to say thanks to Divyansh for all the work and support. In some cases the "gods" from the security team are forcing strict CSP headers, as pages generated by vitepress can be served from the same domain as the main web application. The |
Beta Was this translation helpful? Give feedback.
-
The offending inline style is here ... line 19 vitepress/src/client/app/components/Content.ts Lines 12 to 20 in 23541b4 I can fix it with an hash...but it would be nice if we could have this in the CSS file |
Beta Was this translation helpful? Give feedback.
First two are needed to prevent flashes on initial load. The third one can be moved to separate chunk by setting
metaChunk: true
in .vitepress/config.