diff --git a/README.md b/README.md index aa0e487..5e84ba2 100644 --- a/README.md +++ b/README.md @@ -73,9 +73,15 @@ npm i -S strapi-plugin-email-designer@latest + config: { + contentSecurityPolicy: { + directives: { -+ 'script-src': ['editor.unlayer.com'], -+ 'frame-src': ['editor.unlayer.com'], -+ 'img-src': ['data:', 'cdn.jsdelivr.net', 'strapi.io', 's3.amazonaws.com'], ++ "script-src": ["'self'", "editor.unlayer.com"], ++ "frame-src": ["'self'", "editor.unlayer.com"], ++ "img-src": [ ++ "'self'", ++ "data:", ++ "cdn.jsdelivr.net", ++ "strapi.io", ++ "s3.amazonaws.com", ++ ], + }, + }, + }, diff --git a/package.json b/package.json index 2cd0834..f408bf1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "strapi-plugin-email-designer", - "version": "2.0.6", + "version": "2.0.7", "description": "Strapi Email designer plugin.", "homepage": "https://github.com/alexzaganelli/strapi-plugin-email-designer#readme", "strapi": {