mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-05 02:34:56 +02:00
Update:Setting up paths to eventually support subdirectory
This commit is contained in:
parent
6701551289
commit
cd04533eea
21 changed files with 103 additions and 127 deletions
|
@ -304,7 +304,7 @@ export default {
|
|||
const audioEl = this.audioEl || document.createElement('audio')
|
||||
var src = audioTrack.contentUrl + `?token=${this.userToken}`
|
||||
if (this.$isDev) {
|
||||
src = `http://localhost:3333${src}`
|
||||
src = `http://localhost:3333${this.$config.routerBasePath}${src}`
|
||||
}
|
||||
console.log('src', src)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue