import type { NextConfig } from "next"; const nextConfig: NextConfig = { /* config options here */ reactStrictMode: false, productionBrowserSourceMaps: true, images: { remotePatterns: [ { protocol: "https", hostname: "localhost", port: "4000", pathname: "/uploads/**" }, { protocol: "https", hostname: "img.youtube.com" } ], }, experimental: { authInterrupts: true, // 인증 중단 기능 활성화 serverActions: { bodySizeLimit: '200mb' // 최대 요청 본문 크기 설정 } }, output: 'standalone', async rewrites() { return [ { source: '/uploads/:path*', destination: '/api/uploads/:path*' } ]; } }; export default nextConfig;