Skip to content

Commit

Permalink
Feat/Adding security headers
Browse files Browse the repository at this point in the history
  • Loading branch information
kkatusic committed Oct 15, 2024
1 parent 3310693 commit 26021a3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,14 @@ const moduleExports = withBundleAnalyzer({
key: 'Access-Control-Allow-Headers',
value: 'X-Requested-With, content-type, Authorization',
},
{
key: 'X-Frame-Options',
value: 'SAMEORIGIN',
},
{
key: 'Content-Security-Policy',
value: "frame-ancestors 'self'",
},
],
},
];
Expand Down

0 comments on commit 26021a3

Please sign in to comment.