magento / pwa-studio

🛠Development tools to build, optimize and deploy Progressive Web Applications for Magento 2.
https://developer.adobe.com/commerce/pwa-studio/
Open Software License 3.0
1.06k stars 683 forks source link

Getting CSP nonce error for inline script #4299

Open RanjitBShinde opened 1 month ago

RanjitBShinde commented 1 month ago

Goto https://venia.magento.com/ open console log refresh page check console log, showing below CSP error \

Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “script-src http: https: https://venia.magento.com/ 'nonce-tFIAJvk8NxaDlD0JdF8CCAl54Yteaa1iMmGlO1BwJ9ZvH'”

image
m2-assistant[bot] commented 1 month ago

Hi @RanjitBShinde. Thank you for your report. To speed up processing of this issue, make sure that you provided sufficient information. Add a comment to assign the issue: @magento I am working on this


Join Magento Community Engineering Slack and ask your questions in #github channel.