Don't use referrerpolicy with media proxy.

This commit is contained in:
lain 2019-01-19 14:45:56 +01:00
parent d8512bf6eb
commit 741ccfdc4a
2 changed files with 4 additions and 1 deletions

View file

@ -24,6 +24,9 @@ const Attachment = {
StillImage
},
computed: {
referrerpolicy () {
return this.$store.state.instance.mediaProxyAvailable ? "" : "no-referrer"
},
type () {
return fileTypeService.fileType(this.attachment.mimetype)
},