diff --git a/web/next.config.ts b/web/next.config.ts index e11463d..433c34c 100644 --- a/web/next.config.ts +++ b/web/next.config.ts @@ -12,6 +12,11 @@ const securityHeaders = [ key: "Strict-Transport-Security", value: "max-age=63072000; includeSubDomains", }, + { + key: "Content-Security-Policy-Report-Only", + value: + "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; font-src 'self' data:; connect-src 'self' https://lysis-3ocq.onrender.com https://*.supabase.co; frame-ancestors 'none'", + }, ]; const nextConfig: NextConfig = { @@ -30,4 +35,4 @@ const nextConfig: NextConfig = { }, }; -export default nextConfig; \ No newline at end of file +export default nextConfig;