We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2eba97 commit 27ad42dCopy full SHA for 27ad42d
app/worker.ts
@@ -3,7 +3,7 @@ export default {
3
const url = new URL(req.url);
4
5
if (url.pathname !== "/") {
6
- return Response.redirect("/", 302);
+ return Response.redirect(url.origin, 302);
7
}
8
9
return new Response(
0 commit comments