Skip to content

Commit 27ad42d

Browse files
committed
sync
1 parent a2eba97 commit 27ad42d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export default {
33
const url = new URL(req.url);
44

55
if (url.pathname !== "/") {
6-
return Response.redirect("/", 302);
6+
return Response.redirect(url.origin, 302);
77
}
88

99
return new Response(

0 commit comments

Comments
 (0)