Skip to content

Commit

Permalink
easy
Browse files Browse the repository at this point in the history
  • Loading branch information
0-don committed May 19, 2024
1 parent e6b18ec commit 6957fb6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "next dev --turbo",
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
Expand Down
5 changes: 5 additions & 0 deletions web/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { redirect } from "next/navigation";

export default function RootPage() {
redirect("/de");
}
2 changes: 1 addition & 1 deletion web/src/navigation.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createSharedPathnamesNavigation } from "next-intl/navigation";
import { LOCALES } from "./middleware";
import { LOCALES } from "./locales";

export const { Link, redirect, usePathname, useRouter } =
createSharedPathnamesNavigation({ locales: LOCALES });

0 comments on commit 6957fb6

Please sign in to comment.