Closed draeder closed 3 years ago
I think the issue is here in FakeBittorrentClient.ts:
//var options = urlToHttpOptions(new URL(url)); <-- Change this
var options = new URL(url) //<-- To this
I've tested without urlToHttpOptions
and just new URL(url)
and it still works fine. Since I'm using new URL()
in my module successfully in Heroku, I believe this will fix it.
I'll submit a PR.
Nice, thank's you :)
I built a tracker swarm module that works great locally when using fake-bittorrent-client to test tracker servers. However, when running fake-bittorrent-client in Heroku, I get this error:
Any ideas why this might be happening?