1
This commit is contained in:
Evan Pratten 2024-09-30 20:23:47 -04:00
parent 513f055a1b
commit 6591d05020

View File

@ -10,7 +10,7 @@ export async function onRequest(context) {
} }
// Return the file // Return the file
return new Response(object, { return new Response(object.body, {
headers: { headers: {
"Content-Type": "application/octet-stream", "Content-Type": "application/octet-stream",
"Content-Disposition": `attachment; filename="Evan's Pack-${version}.mrpack"`, "Content-Disposition": `attachment; filename="Evan's Pack-${version}.mrpack"`,