Fixed the new build failure in [src/proxy.ts]
This commit is contained in:
1 file changed
+3
-1
+3
-1
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user