Skip to content

Commit 0c8c9f8

Browse files
committed
fix origin forward
1 parent dc55182 commit 0c8c9f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export default {
199199
// if an origin server is configured, pass the request
200200
if (env.USE_ORIGIN === 'true') {
201201
try {
202-
response = await fetchWithTimeout(request, {
202+
response = await fetchWithTimeout(request.clone(), {
203203
headers: {
204204
'cache-check-complete': 'true',
205205
},

0 commit comments

Comments
 (0)