mirror of
https://github.com/supabase/supabase.git
synced 2026-10-10 11:55:05 +03:00
fix: typo in comment in nextjs.mdx
This commit is contained in:
1 parent
075551df9d
commit
437f002e18
1 file changed
+2
-2
@@ -116,7 +116,7 @@ The `Code Exchange` route is required for the [server-side auth flow](https://su
|
||||
|
||||
Create a new file at `app/auth/callback/route.js` and populate with the following:
|
||||
|
||||
```jsx app/auth/callback.route.js
|
||||
```jsx app/auth/callback/route.js
|
||||
import { createRouteHandlerClient } from '@supabase/auth-helpers-nextjs'
|
||||
import { cookies } from 'next/headers'
|
||||
import { NextResponse } from 'next/server'
|
||||
@@ -141,7 +141,7 @@ export async function GET(request) {
|
||||
|
||||
Create a new file at `app/auth/callback/route.ts` and populate with the following:
|
||||
|
||||
```tsx app/auth/callback.route.ts
|
||||
```tsx app/auth/callback/route.ts
|
||||
import { createRouteHandlerClient } from '@supabase/auth-helpers-nextjs'
|
||||
import { cookies } from 'next/headers'
|
||||
import { NextResponse } from 'next/server'
|
||||
|
||||
Reference in new issue
Block a user