Skip to content

Commit e265853

Browse files
committed
fix: temp disable route handler for next-auth
1 parent b2598d7 commit e265853

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed
File renamed without changes.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://twitter.com/shadcn"
88
},
99
"scripts": {
10-
"dev": "concurrently \"contentlayer dev\" \"next dev -p 3000\"",
10+
"dev": "concurrently \"contentlayer dev\" \"next dev -p 3001\"",
1111
"build": "contentlayer build && next build",
1212
"turbo": "next dev --turbo",
1313
"start": "next start",
@@ -67,7 +67,7 @@
6767
"date-fns": "^2.29.3",
6868
"lucide-react": "^0.92.0",
6969
"next": "^13.3.1",
70-
"next-auth": "4.22.0",
70+
"next-auth": "4.22.1",
7171
"next-contentlayer": "^0.3.1",
7272
"next-themes": "^0.2.1",
7373
"nodemailer": "^6.9.1",

pages/api/auth/[...nextauth].ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import NextAuth from "next-auth"
2+
3+
import { authOptions } from "@/lib/auth"
4+
5+
// @see ./lib/auth
6+
export default NextAuth(authOptions)

pnpm-lock.yaml

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)