Skip to content

Commit

Permalink
fix: temp disable route handler for next-auth
Browse files Browse the repository at this point in the history
  • Loading branch information
shadcn committed Apr 24, 2023
1 parent b2598d7 commit e265853
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://twitter.com/shadcn"
},
"scripts": {
"dev": "concurrently \"contentlayer dev\" \"next dev -p 3000\"",
"dev": "concurrently \"contentlayer dev\" \"next dev -p 3001\"",
"build": "contentlayer build && next build",
"turbo": "next dev --turbo",
"start": "next start",
Expand Down Expand Up @@ -67,7 +67,7 @@
"date-fns": "^2.29.3",
"lucide-react": "^0.92.0",
"next": "^13.3.1",
"next-auth": "4.22.0",
"next-auth": "4.22.1",
"next-contentlayer": "^0.3.1",
"next-themes": "^0.2.1",
"nodemailer": "^6.9.1",
Expand Down
6 changes: 6 additions & 0 deletions pages/api/auth/[...nextauth].ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import NextAuth from "next-auth"

import { authOptions } from "@/lib/auth"

// @see ./lib/auth
export default NextAuth(authOptions)
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e265853

Please sign in to comment.