Add file name to state
This commit is contained in:
@@ -38,7 +38,7 @@ function getPreviousIndex (state) {
|
||||
|
||||
function getCurrentLocalURL (state) {
|
||||
return state.server
|
||||
? state.server.localURL + '/' + state.playing.fileIndex + '/' + state.window.title
|
||||
? state.server.localURL + '/' + state.playing.fileIndex + '/' + encodeURIComponent(state.playing.fileName)
|
||||
: ''
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user