# Content Security Policy with Dojo

**URL:** <https://discourse.dojo.io/t/content-security-policy-with-dojo/608>\
**Category:** Dojo 1.x users\
**Created:** [July 13, 2022, 2:56pm UTC](https://discourse.dojo.io/t/content-security-policy-with-dojo/608 "2022-07-13T14:56:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dojobro](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@dojobro](https://discourse.dojo.io/u/dojobro)\
**Post date:** [July 13, 2022, 2:56pm UTC](https://discourse.dojo.io/t/content-security-policy-with-dojo/608/1 "2022-07-13T14:56:53Z")

</div>

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:

```auto
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.
