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
I recently upgrade an angular application from version 11 to 12. It works locally but it breaks the styling on test and it shows the a CSP error.
I attached screenshots of my angular.json and CSP values.
The application also uses angular material
I recently upgrade an angular application from version 11 to 12. It works locally but it breaks the styling on test and it shows the a CSP error.
I attached screenshots of my angular.json and CSP values.
The application also uses angular material
<add name="Content-Security-Policy" value="default-src 'self'; style-src 'self' 'unsafe-inline' 'unsafe-hashes' 'unsafe-eval'; script-src 'self' 'unsafe-inline'; style-src-elem 'self' 'unsafe-inline' 'unsafe-hashes' 'unsafe-eval';/>
The text was updated successfully, but these errors were encountered: