Skip to content

Commit

Permalink
next.config.js CSP 옵션 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
youngwan2 committed Jul 11, 2024
1 parent a7cfbac commit 874dff6
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
/** @type {import('next').NextConfig} */

const ContentSecurityPolicy = `
default-src 'self';
script-src 'self' 'unsafe-eval' 'unsafe-inline';
style-src 'self' 'unsafe-inline';
img-src 'self' data:;
default-src 'self';
script-src 'self' 'unsafe-eval' 'unsafe-inline';
style-src 'self' 'unsafe-inline';
img-src 'self';
font-src 'self';
object-src 'none';
base-uri 'self';
form-action 'self';
frame-ancestors 'none';
upgrade-insecure-requests;
`


Expand Down

0 comments on commit 874dff6

Please sign in to comment.