Skip to content

Commit feee909

Browse files
committed
ver 1.3.3
1 parent 4b64aa6 commit feee909

5 files changed

Lines changed: 5 additions & 8 deletions

File tree

api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sqtracker/api",
3-
"version": "1.3.1",
3+
"version": "1.3.3",
44
"private": true,
55
"license": "GPL-3.0-only",
66
"scripts": {

api/src/controllers/torrent.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,7 @@ export const downloadTorrent = async (req, res, next) => {
260260
}.torrent`;
261261

262262
res.setHeader("Content-Type", "application/x-bittorrent");
263-
res.setHeader(
264-
"Content-Disposition",
265-
`attachment;filename=${contentDisposition(fileName)}`
266-
);
263+
res.setHeader("Content-Disposition", contentDisposition(fileName));
267264

268265
res.write(bencode.encode(parsed));
269266
res.end();

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sqtracker/client",
3-
"version": "1.3.1",
3+
"version": "1.3.3",
44
"private": true,
55
"license": "GPL-3.0-only",
66
"scripts": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sqtracker",
3-
"version": "1.3.1",
3+
"version": "1.3.3",
44
"private": true,
55
"license": "GPL-3.0-only",
66
"workspaces": [

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2228,7 +2228,7 @@ console-control-strings@^1.0.0, console-control-strings@^1.1.0:
22282228
resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e"
22292229
integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==
22302230

2231-
content-disposition@0.5.4:
2231+
content-disposition@0.5.4, content-disposition@^0.5.4:
22322232
version "0.5.4"
22332233
resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.4.tgz#8b82b4efac82512a02bb0b1dcec9d2c5e8eb5bfe"
22342234
integrity sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==

0 commit comments

Comments
 (0)