diff --git a/src/controllers/GiteaRepoLatestReleaseController.ts b/src/controllers/GiteaRepoLatestReleaseController.ts index 9580848..467ee99 100644 --- a/src/controllers/GiteaRepoLatestReleaseController.ts +++ b/src/controllers/GiteaRepoLatestReleaseController.ts @@ -110,16 +110,8 @@ export default class GiteaRepoLatestReleaseController extends Controller { await promisify(fs.rename)(tmpAssetPath, assetPath); } - const options: Record = {}; - - if (req.header('Range')) { - options.headers = { - 'Content-Type': 'multipart/byteranges', - }; - } - // Respond - return res.download(assetPath, downloadProperties.asset.name, options); + return res.download(assetPath, downloadProperties.asset.name); } }