Skip to content

Commit

Permalink
fix(workers.new): use 302 redirect
Browse files Browse the repository at this point in the history
lukeed committed May 13, 2022
1 parent dccf12c commit 7d1bd49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/workers.new/src/index.ts
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ const worker: ExportedHandler = {
return Response.redirect(target, 302);
}

return Response.redirect('https://dash.cloudflare.com/?to=/:account/workers/services/new', 301);
return Response.redirect('https://dash.cloudflare.com/?to=/:account/workers/services/new', 302);
},
};

0 comments on commit 7d1bd49

Please sign in to comment.