chore: 🤖 disable csp meta for prod (#1560)

This commit is contained in:
Dharini Jeeva authored and GitHub committed 2023-01-10 13:07:22 -08:00
1 parent 1bd057bb4c
commit f41631c745
1 file changed
+2 -1
+2 -1
View File
@@ -25,9 +25,10 @@ module.exports = function (environment) {
if (API_HOST) policy['connect-src'].push(API_HOST);
}
//enable csp meta tag only in dev env
return {
delivery: ['meta'],
enabled: environment !== 'test',
enabled: environment === 'development',
policy,
reportOnly: false,
};