Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refused to create worker #484

Open
rahXephonz opened this issue Jul 7, 2023 · 0 comments
Open

Refused to create worker #484

rahXephonz opened this issue Jul 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@rahXephonz
Copy link

Summary

I got error when deploying my nextjs app into NGINX server the error is

Refused to create a worker from 'blob:https://harvez.fishlog-staging.net/28fe627c-31b3-4423-afd7-e6fb1744b772' because it violates the following Content Security Policy directive: "default-src * data: 'unsafe-eval' 'unsafe-inline'". Note that 'worker-src' was not explicitly set, so 'default-src' is used as a fallback. Note that '*' matches only URLs with network schemes ('http', 'https', 'ws', 'wss'), or URLs whose scheme matches `self`'s scheme. The scheme 'blob:' must be added explicitly.

Versions

next: 12.1.5
next-pwa: 5.5.4

Screenshots

image

@rahXephonz rahXephonz added the bug Something isn't working label Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant