diff --git a/next.config.mjs b/next.config.mjs index a2cbbfcb..4d98447e 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -14,14 +14,16 @@ const nextConfig = { experimental: { staleTimes: { dynamic: 0, - static: 0, + static: 30, }, optimizePackageImports: ['lucide-react', 'framer-motion', '@/components/ui'], cpus: 3, workerThreads: false, + serverActions: { + allowedOrigins: ["*.klz-cables.com", "*.branch.klz-cables.com", "localhost:3000", "klz.localhost"], + }, }, reactStrictMode: false, - swcMinify: true, productionBrowserSourceMaps: false, logging: { fetches: {