Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Commit

Permalink
redirect 302
Browse files Browse the repository at this point in the history
  • Loading branch information
NextFire committed Jul 7, 2024
1 parent 7c29e0a commit d0f0fe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const domParser = new DOMParser();
app.use("*", logger());

app.get("/login", (c) => {
return c.redirect(`${API_PREFIX}/login`, 301);
return c.redirect(`${API_PREFIX}/login`, 302);
});

app.get(`${API_PREFIX}/login`, async (c) => {
Expand Down

0 comments on commit d0f0fe4

Please sign in to comment.