diff --git a/apps/dcellar-web-ui/middleware.ts b/apps/dcellar-web-ui/middleware.ts index a461af8b..ef3bd7f7 100644 --- a/apps/dcellar-web-ui/middleware.ts +++ b/apps/dcellar-web-ui/middleware.ts @@ -1,6 +1,6 @@ -import { NextResponse } from 'next/server'; +import { NextRequest, NextResponse } from 'next/server'; -export function middleware(request) { +export function middleware(request: NextRequest) { const nonce = Buffer.from(crypto.randomUUID()).toString('base64'); const cspHeader = ` default-src 'self';