From 959aeba57c7b01f341b318d35e6c246cbdf6502f Mon Sep 17 00:00:00 2001 From: Atash03 Date: Mon, 26 Jan 2026 11:08:53 +0500 Subject: [PATCH] fix: remove CSP headers configuration --- next.config.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/next.config.js b/next.config.js index e78109a..edd51af 100644 --- a/next.config.js +++ b/next.config.js @@ -2,20 +2,6 @@ const nextConfig = { reactStrictMode: false, - async headers() { - return [ - { - source: '/:path*', - headers: [ - { - key: 'Content-Security-Policy', - value: "default-src 'self'; media-src 'self' blob:; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self' https:; font-src 'self' data:; frame-src 'self' https:;" - } - ] - } - ] - }, - images: { domains: ["turkmentv.gov.tm", "smstv.gov.tm", "turkmenistaninfo.gov.tm"], remotePatterns: [