Skip to content

Commit

Permalink
fix(web): security headers
Browse files Browse the repository at this point in the history
  • Loading branch information
cstrnt committed Aug 7, 2024
1 parent 524a48b commit 667505c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions apps/web/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,7 @@ const withBundleAnalyzer = bundleAnalzyer({
!process.env.SKIP_ENV_VALIDATION && (await import("./src/env/server.mjs"));

const cspHeader = `
default-src 'self';
style-src 'self' 'unsafe-inline';
font-src 'self';
object-src 'none';
base-uri 'self';
form-action 'self';
frame-ancestors 'none';
upgrade-insecure-requests;
`;

/** @type {import("next").NextConfig} */
Expand Down

0 comments on commit 667505c

Please sign in to comment.