Meteor: Resource interpreted as Image but transferred with MIME type text/html

前端 未结 5 1721
天命终不由人
天命终不由人 2021-01-19 04:34

I am using Meteor 0.5.2 and getting following warning in Chrome for each of images which have their src generated by a template helper:

Resource interpreted          


        
5条回答
  •  醉酒成梦
    2021-01-19 04:56

    I had a similar problem, as was able to resolve it by moving my img folder into the public folder of the Meteor project so it was served directly. My source url is still src="img/pic.png".

提交回复
热议问题