diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2015-06-11 04:41:28 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2015-06-11 04:43:45 +0300 |
commit | 3c816df86c233b33bb5b6bfcfd6bb14411f36a51 (patch) | |
tree | a0fc9054ef14ae57116e6aba44c972d71c7c7be8 /index.js | |
parent | 989920f4239006d78cf36f3f64ca64f599a23391 (diff) |
add "created by" field to torrents
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -201,6 +201,7 @@ WebTorrent.prototype.seed = function (input, opts, onseed) { } if (!opts) opts = {} opts.noVerify = true + opts.createdBy = 'WebTorrent/' + require('./package.json').version var streams var torrent = self.add(undefined, opts, function (torrent) { |