Fixed S3 display support for movies.

This commit is contained in:
DebaucheryLibrarian
2021-02-23 01:30:38 +01:00
parent c1829c64c2
commit 2b5aac7633
7 changed files with 48 additions and 8 deletions

View File

@@ -59,7 +59,7 @@
<a
v-for="cover in release.covers"
:key="`cover-${cover.id}`"
:href="`${config.media.mediaPath}/${cover.path}`"
:href="getPath(cover)"
target="_blank"
rel="noopener noreferrer"
>

View File

@@ -84,7 +84,7 @@
<span class="movie-title">{{ movie.title }}</span>
<img
v-if="movie.covers.length > 0"
:src="`/media/${movie.covers[0].thumbnail}`"
:src="getPath(movie.covers[0], 'thumbnail')"
class="movie-cover"
>
</router-link>