Skip to content

Commit

Permalink
web: log register nextUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
rickycraft committed Jun 21, 2024
1 parent 0a064c3 commit 60ef8ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/app/api/register/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { userToken } from '~/server/db/schema'
import { getServerUser } from '~/server/lib'

async function handler(req: NextRequest) {
console.log('register', req.nextUrl)
const origin = req.nextUrl.origin
// should be protected by middleware
const user = await getServerUser()
Expand Down

0 comments on commit 60ef8ab

Please sign in to comment.