Skip to content

Commit

Permalink
Fix metamask connection on firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
hernandoagf committed Jan 10, 2024
1 parent cde3e5d commit fa121e4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ export async function middleware(request: NextRequest) {

const cspHeader = `
default-src 'self' https://*.makerdao.com;
script-src 'self' ${
dev ? ` 'unsafe-eval' 'unsafe-inline'` : ''
} cdn.vercel-insights.com 'nonce-${nonce}';
script-src 'self' ${dev ? "'unsafe-eval' 'unsafe-inline'" : ''} cdn.vercel-insights.com;
style-src 'self' 'unsafe-inline';
frame-src https://connect.trezor.io https://www.youtube-nocookie.com https://player.vimeo.com https://vercel.live https://verify.walletconnect.com;
font-src 'self' data:;
Expand Down

0 comments on commit fa121e4

Please sign in to comment.