1 file changed
+1
-3
+1
-3
@@ -82,9 +82,7 @@ function buildCsp(): string {
|
|||||||
].join("; ");
|
].join("; ");
|
||||||
}
|
}
|
||||||
|
|
||||||
type AuthenticatedNextRequest = NextRequest & { auth?: unknown };
|
export async function handleProxyRequest(req: NextRequest) {
|
||||||
|
|
||||||
export async function handleProxyRequest(req: AuthenticatedNextRequest) {
|
|
||||||
const { pathname } = req.nextUrl;
|
const { pathname } = req.nextUrl;
|
||||||
const csp = buildCsp();
|
const csp = buildCsp();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user