Skip to content

Commit 5e5f30b

Browse files
committed
Revert change of cloning response as bug was actually in prerender.js
1 parent 7e20b4e commit 5e5f30b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/kit/src/runtime/server/page/load_node.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,7 @@ export async function load_node({
208208
const proxy = new Proxy(response, {
209209
get(response, key, _receiver) {
210210
async function text() {
211-
const cloned_response = response.clone();
212-
const body = await cloned_response.text();
211+
const body = await response.text();
213212

214213
/** @type {import('types/helper').ResponseHeaders} */
215214
const headers = {};

0 commit comments

Comments
 (0)