ember-cli-yuidoc icon indicating copy to clipboard operation
ember-cli-yuidoc copied to clipboard

Breaks with CSP enabled

Open dschmidt opened this issue 9 years ago • 7 comments

Hey,

I just installed this addon and it breaks with restrictive CSP enabled.

 Refused to load the stylesheet 'http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline'".

xxx.html:1 Refused to load the script 'http://yui.yahooapis.com/combo?3.9.1/build/yui/yui-min.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' 'unsafe-inline'".

It would be great if you could serve those files directly instead of referring to some online resources.

Best regards, Dominik

dschmidt avatar Mar 03 '15 15:03 dschmidt