DEV Community

Sarthak Jain
Sarthak Jain

Posted on

Error after Angular version 18 upgrade: Content Security Policy Violation

We recently upgraded to Angular version 18 and encountered the following error: "Refused to connect to 'http://localhost:4200/.well-known/appspecific/com.chrome.devtools.json' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.".

Top comments (0)