Skip to content

Commit

Permalink
fix(dcellar-web-ui): fix ts complie error
Browse files Browse the repository at this point in the history
  • Loading branch information
devinxl committed Oct 30, 2024
1 parent 3ec6bc7 commit f31a743
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/dcellar-web-ui/middleware.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit f31a743

Please sign in to comment.