From Dev.to
Your CSP 'sha256-…' hash doesn't match the inline script? Newlines, CRLF and the hex-vs-Base64 trap
You moved away from 'unsafe-inline', added a hash to your Content Security Policy, deployed, and the browser still blocks the script. The policy looks right and the script hasn't changed. In most case...
