Build faliure fix 2
CI / ci (push) Canceled after 0s

Fixed the new build failure in [src/proxy.ts]
This commit is contained in:
Stefan Lazic committed 2026-09-04 21:45:54 +01:00
1 parent a8cdc2671e
commit 69bc0adf29
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -82,7 +82,9 @@ function buildCsp(): string {
].join("; ");
}
export async function handleProxyRequest(req: NextRequest) {
type AuthenticatedNextRequest = NextRequest & { auth?: unknown };
export async function handleProxyRequest(req: AuthenticatedNextRequest) {
const { pathname } = req.nextUrl;
const csp = buildCsp();