Skip to content

Commit 1f2c521

Browse files
committed
[core] fix rewriter panic
1 parent b3d0d78 commit 1f2c521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/worker/fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ export async function handleFetch(
285285
// @ts-ignore why the fuck is this not typed microsoft
286286
duplex: "half",
287287
}));
288-
response.finalURL = ev.url;
288+
response.finalURL = ev.url.href;
289289

290290
return await handleResponse(
291291
url,

0 commit comments

Comments
 (0)