fix: revert next.config.ts serverActions placement for Next.js build

This commit is contained in:
Carlos (Almeira) 2026-07-18 10:12:52 -05:00
parent 7432e8432b
commit af4554e4fc

View File

@ -6,11 +6,12 @@ const nextConfig: NextConfig = {
outputFileTracingRoot: process.cwd(),
trailingSlash: true,
staticPageGenerationTimeout: 300,
experimental: {
serverActions: {
bodySizeLimit: (process.env.SERVER_ACTIONS_BODY_SIZE_LIMIT as any) || '100mb',
allowedOrigins: ['almeiraproducciones.com', 'news.almeira.com.co', 'www.almeiraproducciones.com', 'localhost:3000'],
},
experimental: {},
},
serverExternalPackages: ['isomorphic-dompurify', 'jsdom'],
};