Align CSP tests with hydration-safe policy

This commit is contained in:
BigBodyCobain
2026-05-04 13:04:31 -06:00
parent 63043b32b5
commit 9427935c7f
3 changed files with 31 additions and 42 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
import { NextRequest, NextResponse } from 'next/server';
function buildCsp(nonce: string): string {
function buildCsp(_nonce: string): string {
const isDev = process.env.NODE_ENV !== 'production';
const directives = [
"default-src 'self'",