Hello,
I want to disable csp-restrictions in dojo but don’t know how. Below is my dojoConfig.js file and the setting for csp-restrictions disabled but it does not work.
dogoConfig.js:
var dojoConfig = {
tlmSiblingOfDojo : false,
isDebug : false,
async : true,
has : {
'csp-restrictions': false,
'dojo-v1x-i18n-Api': true,
"production" : 1
},
map : {
"*" : {
"mw-menu" : "mw-form",
"mw-mixins" : "mw-form/mixins",
"mw-mixins-tests" : "mw-form/mixins-tests"
}
}
};`
I also tried with ‘dojo-v1x-i18n-Api’: false but I still get content security policy message.