Skip to content

Commit

Permalink
feat: 默认跳转 /add-recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
myNameIsDu committed Oct 22, 2022
1 parent b7233d2 commit b653960
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/routes/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { redirect } from "@remix-run/node";

export const loader = () => {
return redirect("/add-recipe");
};

0 comments on commit b653960

Please sign in to comment.