We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51a6b6d commit 52f5502Copy full SHA for 52f5502
client.js
@@ -70,7 +70,7 @@ class Client extends EventEmitter {
70
71
// Remove trailing slash from trackers to catch duplicates
72
announce = announce.map(announceUrl => {
73
- announceUrl = arr2text(announceUrl)
+ if (ArrayBuffer.isView(announceUrl)) announceUrl = arr2text(announceUrl)
74
if (announceUrl[announceUrl.length - 1] === '/') {
75
announceUrl = announceUrl.substring(0, announceUrl.length - 1)
76
}
0 commit comments