Build media URLs from public bucket config
This commit is contained in:
1 parent
19e84d774c
commit
069ef37825
8 files changed
+12
-16
No files matched your search
@@ -14,7 +14,6 @@ const tableRows: Row[] = [
|
||||
name: "file",
|
||||
displayName: "Cover",
|
||||
type: "image",
|
||||
prefix: `${BACKEND_SERVE}`,
|
||||
},
|
||||
{
|
||||
name: "name",
|
||||
|
||||
@@ -14,7 +14,6 @@ const tableRows: Row[] = [
|
||||
name: "file",
|
||||
displayName: "Cover",
|
||||
type: "image",
|
||||
prefix: `${BACKEND_SERVE}`,
|
||||
},
|
||||
{
|
||||
name: "name",
|
||||
|
||||
@@ -14,8 +14,6 @@ const tableRows: Row[] = [
|
||||
name: "fileDir",
|
||||
displayName: "Audio File",
|
||||
type: "audio",
|
||||
prefix: `${BACKEND_SERVE}`,
|
||||
suffix: "/high.m4a",
|
||||
},
|
||||
{
|
||||
name: "name",
|
||||
|
||||
@@ -90,7 +90,7 @@ const { playAlbum, playShuffledAlbum, playAlbumAtIndex } = usePlayer()
|
||||
v-for="album in albumsData"
|
||||
:key="album._id"
|
||||
:name="album.name"
|
||||
:file="`${BACKEND_SERVE}${album.file}`"
|
||||
:file="GET_FILE(album.file)"
|
||||
:artists="album.artists"
|
||||
:_id="album._id"
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user