Fixing magnet link urls

This commit is contained in:
Dessalines 2018-12-12 14:44:29 -07:00
parent cd9fec95b7
commit b9393b57c4
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
export function magnetLink(infohash: string, name: string): string {
return `magnet:?xt=urn:btih:${infohash}&dn=${name}${trackerListToUrl(trackerList)})}`;
return `magnet:?xt=urn:btih:${infohash}&dn=${name}${trackerListToUrl(trackerList)}`;
}
let trackerList: Array<string> = [