Skip to content

Commit e4d413d

Browse files
committed
fix regression: convert buffer to string
1 parent 9f0f286 commit e4d413d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ function Client (peerId, port, torrent, opts) {
6969

7070
self._trackers = announce
7171
.map(function (announceUrl) {
72+
announceUrl = announceUrl.toString()
7273
var protocol = url.parse(announceUrl).protocol
7374

7475
if ((protocol === 'http:' || protocol === 'https:') &&

0 commit comments

Comments
 (0)