docs: add missing import headers (#1920)

This commit is contained in:
Nicolas Vargas
2025-03-21 23:42:09 +03:00
committed by GitHub
parent 08b2431a1b
commit 59152fe2e3
+1
View File
@@ -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) {