diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2015-12-10 09:56:40 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2015-12-17 14:39:55 +0300 |
commit | e47b9a2a86db54fc3db7dd00c964d25b8203f71e (patch) | |
tree | 212c0cb1e5b2ffd978bc797208754545cb2d9807 /index.js | |
parent | dfdf52b747201cdb9f616a2b1f0831e96b250ab6 (diff) |
Change default "created by" to match uTorrent style
Instead of “WebTorrent/0.63.0”, it’s now “WebTorrent/0063”.
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |