/
githubmirror
/
next.js
Обзор
Документация
Войти
/
githubmirror
/
next.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
canary
test/e2e/proxy-readable-toweb/proxy.ts
9 строк
190 B
Tim Neutkens
Keep the request body a plain Readable after middleware so Readable.toWeb() doesn't hang (#95607)
10 июл 2026, 16:55
Не верифицирован
10 июл 2026, 16:55
3bb780e
Код
Авторство
О чём код?
import { NextRequest, NextResponse } from 'next/server' export function proxy(_request: NextRequest) { return NextResponse.next() } export const config = { matcher: ['/api/:path*'], }