ntegral / strapi-provider-upload-azure-storage-blob

Strapi provider for uploads to Azure using @azure/storage-blob
MIT License
0 stars 3 forks source link

Content Security Policy of your site blocks some resources #1

Open SteveScott opened 2 years ago

SteveScott commented 2 years ago

I re-installed my packages when upgrading from 4.0.0 to 4.0.7 (thanks for your help!). I am now getting an error on the media library page: "Content Security Policy of your site blocks some resources" referencing the azure blob storage URL.

Is this permission something I can add by altering middleware.js or should I re-install the plugin?

SteveScott commented 2 years ago

I was able to resolve this error by adding my Azure blob storage account to middlewares.js as per this article: https://github.com/strapi/strapi/issues/11637.