Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.

Commit 4eeb37e

Browse files
committed
fix(download): update download response to redirect to the download URL instead of manual handling
1 parent 7725884 commit 4eeb37e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/controllers/GameController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ export class Games {
426426
}
427427
} else {
428428

429-
res.status(302).send({ message: 'Redirect removed. Please handle the download manually.' });
429+
res.redirect(downloadUrl);
430430
}
431431
} catch (error) {
432432
handleError(res, error, 'Error downloading game');

0 commit comments

Comments
 (0)