diff --git a/src/ui/torrent_details.js b/src/ui/torrent_details.js index 8c82c48..da2b2c4 100644 --- a/src/ui/torrent_details.js +++ b/src/ui/torrent_details.js @@ -28,7 +28,7 @@ import selectTorrent, { import { updateResource } from '../actions/resources'; import { formatBitrate } from '../bitrate'; -const dlURI = (uri, token, id) => `${uri.replace('ws', 'http')}/dl/${id}?password=${encodeURIComponent(token)}`; +const dlURI = (uri, token, id) => `${uri.replace('ws', 'http')}/dl/${id}?token=${encodeURIComponent(token)}`; function basename(path) { const parts = path.split("/");