I have a JS file which that us being imported by
<script src="https://example.com/file.js"/>
and I have a CSP policy with the hash that is generated when I paste the output of this file in: https://report-uri.com/home/hash
But I still get an error saying it violates this SHA256 checksum. What am I doing wrong? isn't that suppose to have the checksum of the file?