Work around hotlinking restrictions.

This commit is contained in:
Roger Braun 2016-12-07 09:34:48 +01:00
parent 026ab7c1df
commit 7b5a30db14

View file

@ -9,7 +9,7 @@
<a class="image-attachment" v-if="type === 'image' && !hidden"
:href="attachment.url" target="_blank">
<img :src="attachment.url"></img>
<img referrerpolicy="no-referrer" :src="attachment.url"></img>
</a>
<video v-if="type === 'video' && !hidden" :src="attachment.url" controls></video>