← back to Letsbegin

next.config.ts

18 lines

import type { NextConfig } from 'next'
import path from 'path'

const nextConfig: NextConfig = {
  reactStrictMode: true,
  // Fix workspace root warning
  outputFileTracingRoot: path.join(__dirname),
  // No basePath - access directly via IP:7300
  // For DW Central proxy, configure nginx to rewrite paths
  experimental: {
    serverActions: {
      bodySizeLimit: '2mb',
    },
  },
}

export default nextConfig