Work around hotlinking restrictions.
This commit is contained in:
parent
026ab7c1df
commit
7b5a30db14
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
<a class="image-attachment" v-if="type === 'image' && !hidden"
|
<a class="image-attachment" v-if="type === 'image' && !hidden"
|
||||||
:href="attachment.url" target="_blank">
|
:href="attachment.url" target="_blank">
|
||||||
<img :src="attachment.url"></img>
|
<img referrerpolicy="no-referrer" :src="attachment.url"></img>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<video v-if="type === 'video' && !hidden" :src="attachment.url" controls></video>
|
<video v-if="type === 'video' && !hidden" :src="attachment.url" controls></video>
|
||||||
|
Loading…
Reference in New Issue
Block a user