Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve tests; misc fixes #532

Merged
merged 9 commits into from Dec 18, 2015

Change default "created by" to match uTorrent style

Instead of “WebTorrent/0.63.0”, it’s now “WebTorrent/0063”.
  • Loading branch information
feross committed Dec 10, 2015
commit e47b9a2a86db54fc3db7dd00c964d25b8203f71e
@@ -205,7 +205,7 @@ WebTorrent.prototype.seed = function (input, opts, onseed) {

// When seeding from filesystem, initialize store from that path (avoids a copy)
if (typeof input === 'string') opts.path = path.dirname(input)
if (!opts.createdBy) opts.createdBy = 'WebTorrent/' + VERSION
if (!opts.createdBy) opts.createdBy = 'WebTorrent/' + VERSION_STR

var streams
var torrent = self.add(undefined, opts, function (torrent) {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.