We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 581bdf3 commit f921404Copy full SHA for f921404
files/entry.js
@@ -7,6 +7,7 @@ const debug = DEBUG;
7
8
__fetch_polyfill();
9
10
+/** @type {import('@sveltejs/kit').App} */
11
const app = new App(manifest);
12
13
/**
@@ -25,8 +26,7 @@ export async function index(context) {
25
26
const originalUrl = headers['x-ms-original-url'];
27
const url = new URL(originalUrl);
28
- const encoding = headers['content-encoding'] || 'utf-8';
29
- const rawBody = typeof body === 'string' ? Buffer.from(body, encoding) : body;
+ const rawBody = typeof body === 'string' ? Buffer.from(body, 'utf-8') : body;
30
const request = {
31
url,
32
method,
0 commit comments