You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything works fine in development mode. But when I moved built files to the server, I faced this error in browser:
main.195fbc3377ced840.js:2 Refused to apply inline style because it violates the following Content Security Policy directive: "default-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='), or a nonce ('nonce-...') is required to enable inline execution. Note also that 'style-src' was not explicitly set, so 'default-src' is used as a fallback.
The text was updated successfully, but these errors were encountered:
I want to embed my font and image files into my js file using postcss-url.
Here is my postcss config:
Everything works fine in development mode. But when I moved built files to the server, I faced this error in browser:
The text was updated successfully, but these errors were encountered: