Files
course-plat/next.config.mjs
2026-08-31 14:10:20 -03:00

30 lines
694 B
JavaScript

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;