Fixed the player crashing in production if playlist is null
This commit is contained in:
parent
e7753ab41d
commit
8a778520d6
@ -103,10 +103,10 @@ function getArgs() {
|
||||
}
|
||||
})
|
||||
if(!out.debug) {
|
||||
if(!out.presentation.startsWith('/presentation/')) {
|
||||
if(out.presentation && !out.presentation.startsWith('/presentation/')) {
|
||||
out.presentation = '/presentation/' + out.presentation
|
||||
}
|
||||
if(!out.playlist.startsWith('/playlist/')) {
|
||||
if(out.playlist && !out.playlist.startsWith('/playlist/')) {
|
||||
out.playlist = '/playlist/' + out.playlist
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user