Closed Denhope closed 10 months ago
Looks like the CSP protection.
Probably you will need to change your index.html and add the CSP meta tag.
Example:
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval';">
Ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src
Thanks
Hi! In my App I have bug with @react-pdf_renderer , when I generete pdf document This bug only on Vite? When I use Webpack I didn't have this bug If some have any Ideas? please help me.