@unchainedshop/ticketing 4.8.0 → 4.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -154,10 +154,9 @@ const appleWalletHandler = async (req, res) => {
|
|
|
154
154
|
const result = await fetch(url);
|
|
155
155
|
const data = await result.arrayBuffer();
|
|
156
156
|
const uint8View = new Uint8Array(data);
|
|
157
|
-
res.
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
});
|
|
157
|
+
res.status(200);
|
|
158
|
+
res.setHeader('Content-Type', 'application/vnd.apple.pkpass');
|
|
159
|
+
res.setHeader('Last-Modified', lastModifiedDate.toUTCString());
|
|
161
160
|
res.send(uint8View);
|
|
162
161
|
return;
|
|
163
162
|
}
|
package/package.json
CHANGED