Skip to content

Commit

Permalink
ver 1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tdjsnelling committed Aug 22, 2023
1 parent 4b64aa6 commit feee909
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sqtracker/api",
"version": "1.3.1",
"version": "1.3.3",
"private": true,
"license": "GPL-3.0-only",
"scripts": {
Expand Down
5 changes: 1 addition & 4 deletions api/src/controllers/torrent.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,7 @@ export const downloadTorrent = async (req, res, next) => {
}.torrent`;

res.setHeader("Content-Type", "application/x-bittorrent");
res.setHeader(
"Content-Disposition",
`attachment;filename=${contentDisposition(fileName)}`
);
res.setHeader("Content-Disposition", contentDisposition(fileName));

res.write(bencode.encode(parsed));
res.end();
Expand Down
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sqtracker/client",
"version": "1.3.1",
"version": "1.3.3",
"private": true,
"license": "GPL-3.0-only",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sqtracker",
"version": "1.3.1",
"version": "1.3.3",
"private": true,
"license": "GPL-3.0-only",
"workspaces": [
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2228,7 +2228,7 @@ console-control-strings@^1.0.0, console-control-strings@^1.1.0:
resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e"
integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==

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

0 comments on commit feee909

Please sign in to comment.