Update downloadUrl on share page

This commit is contained in:
Greg Lorenzen 2024-12-10 06:32:03 +00:00
parent 5c4271045e
commit 56faf5f295

View File

@ -68,7 +68,7 @@ export default {
return `${this.$config.routerBasePath}/public/share/${this.mediaItemShare.slug}/cover`
},
downloadUrl() {
return `${process.env.serverUrl}/api/items/${this.playbackSession.libraryItemId}/download?share=${this.mediaItemShare.slug}`
return `${process.env.serverUrl}/public/share/${this.mediaItemShare.slug}/download`
},
audioTracks() {
return (this.playbackSession.audioTracks || []).map((track) => {