From 6591d050202a8f891b07a1c42d5012c1d26d6492 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Mon, 30 Sep 2024 20:23:47 -0400 Subject: [PATCH] Bugfix --- static/functions/download/minecraft-modpack/[[version]].js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/functions/download/minecraft-modpack/[[version]].js b/static/functions/download/minecraft-modpack/[[version]].js index bcff19b..a7a920b 100644 --- a/static/functions/download/minecraft-modpack/[[version]].js +++ b/static/functions/download/minecraft-modpack/[[version]].js @@ -10,7 +10,7 @@ export async function onRequest(context) { } // Return the file - return new Response(object, { + return new Response(object.body, { headers: { "Content-Type": "application/octet-stream", "Content-Disposition": `attachment; filename="Evan's Pack-${version}.mrpack"`,