Fix:Stream url format issues

This commit is contained in:
advplyr 2022-02-22 19:02:01 -06:00
parent 74d5174cfc
commit d2c6f1bab1
4 changed files with 5 additions and 5 deletions

View file

@ -78,7 +78,7 @@ export default class CastPlayer extends EventEmitter {
if (process.env.NODE_ENV === 'development') {
this.coverUrl = coverImg
} else {
this.coverUrl = `${window.location.origin}/${coverImg}`
this.coverUrl = `${window.location.origin}${coverImg}`
}
var request = buildCastLoadRequest(this.audiobook, this.coverUrl, this.audioTracks, this.currentTime, playWhenReady, this.defaultPlaybackRate)