Skip to content

Commit

Permalink
Fix download error
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon committed Oct 31, 2023
1 parent 0d55d8f commit 2a0ffd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/handlers/downloads.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const download = async (ctx) => {
}

const filepath = findLargestFileInPath(
process.env.OUTPUT_PATH + decoded.query
`${process.env.OUTPUT_PATH}/${decoded.query}`
);
const filename = filepath.split("/").pop();
const file = Bun.file(filepath);
Expand Down

0 comments on commit 2a0ffd8

Please sign in to comment.