mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-08 21:08:43 +02:00
Fix: add user token to single file download request #16
This commit is contained in:
@@ -300,7 +300,7 @@ export default {
|
||||
var fileext = track.ext
|
||||
|
||||
var relTrackPath = track.path.replace('\\', '/').replace(this.audiobook.path.replace('\\', '/'), '')
|
||||
var url = `${this.$store.state.serverUrl}/s/book/${this.audiobookId}/${relTrackPath}`
|
||||
var url = `${this.$store.state.serverUrl}/s/book/${this.audiobookId}/${relTrackPath}?token=${this.userToken}`
|
||||
this.startDownload(url, fileext, downloadObject)
|
||||
} else {
|
||||
// Multi-track merge
|
||||
|
||||
Reference in New Issue
Block a user