Skip to content

Commit 84de0dd

Browse files
committed
change redirect status to 308 to match adapter-vercel
1 parent fd84e79 commit 84de0dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/adapter-cloudflare/src/worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const worker = {
6060
res = await env.ASSETS.fetch(req);
6161
} else if (counterpart_route && prerendered.has(counterpart_route)) {
6262
res = new Response('', {
63-
status: 301,
63+
status: 308,
6464
headers: {
6565
location: counterpart_route
6666
}

0 commit comments

Comments
 (0)