diff --git a/renderer/index.js b/renderer/index.js index 306fc4f9..d0b088b1 100644 --- a/renderer/index.js +++ b/renderer/index.js @@ -168,6 +168,7 @@ function dispatch (action, ...args) { closeServer() } state.url = '/' + state.title = config.APP_NAME update() } if (action === 'forward') { @@ -398,6 +399,7 @@ function closeServer () { function openPlayer (torrent) { startServer(torrent, function () { state.url = '/player' + state.title = torrent.name update() }) }