lundi 10 février 2020

I get error in console after install ember-cli-content-policy

vendor-suffix.js:1 [Report Only] Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' 'nonce-abcdefg' localhost:4200 0.0.0.0:4200".

i installed ember-cli-content-policy and i m trying to override default configuration by adding

ENV.contentSecuityPolicy in environment.js

but i cannot the configuration still default and i get the error when ever i ran the app




Aucun commentaire:

Enregistrer un commentaire