import path from "path"; import { fileURLToPath } from "url"; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); /** @type {import('next').NextConfig} */ const nextConfig = { experimental: { serverActions: { bodySizeLimit: '500mb', }, }, // --- ADICIONE ESTA SEÇÃO --- images: { remotePatterns: [ { protocol: 'https', hostname: 'inglescomideiasvivas.com.br', port: '', pathname: '/**', }, ], }, // --------------------------- outputFileTracingRoot: __dirname, output: process.env.NODE_ENV === 'production' ? 'standalone' : undefined, }; export default nextConfig;