mirror of
https://github.com/dumbasPL/deluge-windscribe-ephemeral-port.git
synced 2024-11-10 01:02:17 +01:00
Fix bug, need break in switch
This commit is contained in:
parent
1ecf246d58
commit
31e8370841
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ let torrentClient: ITorrentClient;
|
|||
switch (config.bittorrentClient.toLocaleLowerCase()) { // case insensitive match
|
||||
case "qbittorrent":
|
||||
torrentClient = new QBittorrentClient(config.delugeUrl, config.bittorrentUsername, config.delugePassword)
|
||||
break;
|
||||
case "deluge":
|
||||
default:
|
||||
torrentClient = new DelugeClient(config.delugeUrl, config.delugePassword, config.delugeHostId)
|
||||
|
|
Loading…
Reference in a new issue