Fixing magnet link urls
This commit is contained in:
parent
cd9fec95b7
commit
b9393b57c4
|
@ -1,5 +1,5 @@
|
||||||
export function magnetLink(infohash: string, name: string): string {
|
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> = [
|
let trackerList: Array<string> = [
|
||||||
|
|
Loading…
Reference in New Issue