• Robert Knight's avatar
    Add logic to disable CSP-incompatible features on app boot · ef07a771
    Robert Knight authored
    Set the `ng-csp` attribute on the document body on app startup before
    Angular is loaded to avoid triggering warnings when app.html is served
    with Content Security Policy headers.
    
    This used to be done via an `ng-csp` attribute on the <body> tag in the
    app.html file served by the `h` service but this moves it to client code
    to avoid the service needing to know this implementation detail of the
    client app.
    ef07a771
Name
Last commit
Last update
.github Loading commit data...
h Loading commit data...
images Loading commit data...
scripts Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
CODE_OF_CONDUCT Loading commit data...
Jenkinsfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
gulpfile.js Loading commit data...
npm-shrinkwrap.json Loading commit data...
package.json Loading commit data...