I’m creating a custom UI app and for performance use a WebWorker to run computing logic in it, everything is OK but after deployed to development environment, it throws error:
Refused to load the script 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/4.10.38/pdf.worker.min.mjs' because it violates the following Content Security Policy directive: "script-src 'self' https://forge.cdn.prod.atlassian-dev.net 'unsafe-inline'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
I’ve checked the official docs: https://developer.atlassian.com/platform/forge/manifest-reference/permissions/#:~:text=The%20permissions%20section%20of%20the%20manifest.yml%20file%20controls,the%20authenticated%20Product%20Fetch%20APIs%2C%20and%20Product%20events.
there’s nothing related to worker
Anyone knows how to make it?