Fixed mimetype in serverless example

This commit is contained in:
Alexander Cerutti
2023-07-04 20:06:55 +02:00
parent 4ef2d46413
commit c8db7a204b

View File

@@ -149,7 +149,7 @@ export async function pkpasses(event: ALBEvent) {
return {
statusCode: 302,
headers: {
"Content-Type": "application/vnd.apple.pkpass",
"Content-Type": pkpasses.mimeType,
Location,
},
};