Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2015-12-10 09:56:40 +0300
committerFeross Aboukhadijeh <feross@feross.org>2015-12-17 14:39:55 +0300
commite47b9a2a86db54fc3db7dd00c964d25b8203f71e (patch)
tree212c0cb1e5b2ffd978bc797208754545cb2d9807 /index.js
parentdfdf52b747201cdb9f616a2b1f0831e96b250ab6 (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.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index 72d6f7a..edb4b59 100644
--- a/index.js
+++ b/index.js
@@ -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) {