mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-06-07 23:03:54 +02:00
Align CSP tests with hydration-safe policy
This commit is contained in:
@@ -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'",
|
||||
|
||||
Reference in New Issue
Block a user