hello, I'm running a server in dev mode and getting the following content security policy error in the browser:
Refused to load the script '<http://localhost:6788/js/main.js>' because it violates the following Content Security Policy directive: "script-src 'unsafe-inline' 'unsafe-eval' 'strict-dynamic' https: http:". 'strict-dynamic' is present, so host-based whitelisting is disabled. Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
it looks like this is the default policy, so i'm not sure why it's blocking this script from being loaded
found this in the samples and that fixes things: https://github.com/pedestal/pedestal/blob/2c7f6fed2105290fdcd6351249ed7072a7cab9ca/samples/cors/src/cors/server.clj#L36