为导航栏添加缩窄后弹出提示功能

This commit is contained in:
2025-05-06 15:49:02 +08:00
parent e910dc8f61
commit 2d2a6555a7
6 changed files with 381 additions and 53 deletions

View File

@@ -1,14 +0,0 @@
import {NextRequest, NextResponse} from 'next/server'
export async function GET(req: NextRequest) {
const headers: {
[key: string]: string
} = {}
req.headers.forEach((value, key) => {
headers[key] = value
})
return NextResponse.json({
headers: headers,
cookies: req.cookies.getAll(),
})
}