problem with helmet middleware in express.js

89 views Asked by At

I'm working on a full stack MERN application, in the API i decided not to keep the images in the folder and uploaded them on cloudinary. i also use Graph instagram api to ge the most recent instagram images from my profile. To sum it up i use two external resource to get the images and load them on my front end but whenever i use the helmet middleware it prevents me from getting those image urls and it throws these two errors -

Content-Security-Policy: The page’s settings blocked the loading of a resource at https://scontent.cdninstagram.com////

Content-Security-Policy: The page’s settings blocked the loading of a resource at https://res.cloudinary.com ///

what should i do?

i tried to enable those two urls to not be blocked in the helmet itself

0

There are 0 answers