PouchDB's Working with attachments Pageの後に小文字をngSrc
と表示するのが苦労しています。私の適切なHTMLは次のとおりです。PouchDB添付ファイルから回復されたBlobをngSrcとして表示するにはどうすればよいですか?
<img src="" ng-src="{{$root.images.myImgNameX}}" alt="">
それが、この中にコンパイルされます:
<img src="http://localhost:8100/fcba0867-bf49-4fe0-b4f2-3490bb65761f" ng-src="blob:http://localhost:8100/fcba0867-bf49-4fe0-b4f2-3490bb65761f" alt="">
しかしイメージがあったされていません。しかし、私がコピーしてURLを貼り付けた場合、ng-src
に画像が見えます。 は、私はこのエラーを取得する:
:8100/#/app/news:1 Refused to load the image 'blob: http://localhost:8100/754f38af-0246-4b33-85c9-049f6d9ce1df ' because it violates the following Content Security Policy directive: "img-src 'self' data: *".
は、どのように私は私のimg
タグにそのblob
を使用することができますか?