Replies: 1 comment 2 replies
-
Hey, The security header rules are created for the root document of your Nuxt application. They are not set for all the assets and other resources you may have in your application. I have no experience with pdf.js Maybe you could use some H3 functions like |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a project that uses pdfjs and that include a huge worker file (compiled by vite, so on the same domain)
I have this nuxt-security policy :
The header is included as expected on normal pages.
Is it normal that the file itself doesn't respond with the cross origin embedder policy ?
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions