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 ?
1.4m articles
1.4m replys
5 comments
57.0k users