4b885c080c
* add ember-cli-content-security-policy * only enable client side CSP when not in production - the go side handles this otherwise * add service that handles and stores CSP violations via the securitypolicyviolation event * update auth form component to show a specialized message when there's a CSP error * move to computed prop for showing the CSP error message * fix typos
10 lines
183 B
JavaScript
10 lines
183 B
JavaScript
export function initialize(appInstance) {
|
|
let service = appInstance.lookup('service:csp-event');
|
|
service.attach();
|
|
}
|
|
|
|
export default {
|
|
name: 'track-csp-event',
|
|
initialize,
|
|
};
|