almeira-web/next.config.ts

17 lines
476 B
TypeScript

import path from "path";
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: 'standalone',
outputFileTracingRoot: process.cwd(),
trailingSlash: true,
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'],
},
},
};
export default nextConfig;