import { CONFIG } from '../initializers/config'
const baseDirectives = Object.assign({},
import { CONFIG } from '../initializers/config'
const baseDirectives = Object.assign({},
workerSrc: [ '\'self\'', 'blob:' ] // instead of deprecated child-src
},
CONFIG.CSP.REPORT_URI ? { reportUri: CONFIG.CSP.REPORT_URI } : {},
workerSrc: [ '\'self\'', 'blob:' ] // instead of deprecated child-src
},
CONFIG.CSP.REPORT_URI ? { reportUri: CONFIG.CSP.REPORT_URI } : {},
directives: Object.assign({}, baseDirectives, { frameAncestors: [ '*' ] }),
directives: Object.assign({}, baseDirectives, { frameAncestors: [ '*' ] }),