refactor references to use new image server

This commit is contained in:
geoffrey45
2022-05-04 02:34:27 +03:00
parent f1548aee4b
commit 43fc33640d
11 changed files with 66 additions and 34 deletions
+4 -1
View File
@@ -13,7 +13,7 @@
<div
class="album-art image rounded"
:style="{
backgroundImage: `url(&quot;${props.track.image}&quot;)`,
backgroundImage: `url(&quot;${imguri + props.track.image}&quot;)`,
}"
>
<div
@@ -43,9 +43,12 @@ import { ContextSrc } from "../../composables/enums";
import useContextStore from "../../stores/context";
import useModalStore from "../../stores/modal";
import { paths } from "../../config";
const contextStore = useContextStore();
const modalStore = useModalStore();
const imguri = paths.images.thumb
const props = defineProps<{
track: Track;