Skip to content

Commit efdfea3

Browse files
prazgaitisclaude
andcommitted
fix proxy.ts: use named export instead of default export
Next.js 16 requires a named `proxy` export, not a default export. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1d6135c commit efdfea3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/web/proxy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { NextResponse } from "next/server";
22

33
// Better Auth handles authentication via cookies
4-
// No middleware protection needed - routes are protected at the page/API level
5-
export default function proxy() {
4+
// No proxy protection needed - routes are protected at the page/API level
5+
export function proxy() {
66
return NextResponse.next();
77
}
88

0 commit comments

Comments
 (0)