Bugfix
This commit is contained in:
parent
513f055a1b
commit
6591d05020
@ -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"`,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user