♻️ refactor(middleware): remove duplicate CSP header assignment (#20548)

pull/20592/head
Muttakin Islam Hasib 8 months ago committed by GitHub
parent e40e9db39a
commit 157d916154
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -56,11 +56,6 @@ export function middleware(request: NextRequest) {
contentSecurityPolicyHeaderValue,
)
response.headers.set(
'Content-Security-Policy',
contentSecurityPolicyHeaderValue,
)
return wrapResponseWithXFrameOptions(response, pathname)
}

Loading…
Cancel
Save