mirror of
https://github.com/better-auth/better-auth.git
synced 2026-10-25 10:13:54 -05:00
docs: add missing import headers (#1920)
This commit is contained in:
@@ -205,6 +205,7 @@ Be careful when using the new runtime. It's an experimental feature and it may b
|
||||
|
||||
```ts
|
||||
import { NextRequest, NextResponse } from "next/server";
|
||||
import { headers } from "next/headers";
|
||||
import { auth } from "@/lib/auth";
|
||||
|
||||
export async function middleware(request: NextRequest) {
|
||||
|
||||
Reference in New Issue
Block a user