I am trying to load images in my index.ejs as bellow
<img src="<%=imageBaseUrl+movie.poster_path %>" alt="">
imageBaseUrl set as:
imageBaseUrl="http://image.tmdb.org/t/p/w300";
But I am getting error as Refused to load the image '' because it violates the following Content Security Policy directive: "img-src 'self' data:". console error image
What should I do to resolve this error ?
2.1m questions
2.1m answers
60 comments
57.0k users