diff options
Diffstat (limited to 'lib/webconn.js')
-rw-r--r-- | lib/webconn.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/webconn.js b/lib/webconn.js index bd306f6..b1170a6 100644 --- a/lib/webconn.js +++ b/lib/webconn.js @@ -102,7 +102,7 @@ class WebConn extends Wire { const fileEnd = requestedFile.offset + requestedFile.length - 1 const url = this.url + (this.url[this.url.length - 1] === '/' ? '' : '/') + - requestedFile.path + requestedFile.path.replace(this._torrent.path, '') return { url, fileOffsetInRange: Math.max(requestedFile.offset - rangeStart, 0), |