next.config.ts 597 B

123456789101112131415161718192021222324252627282930
  1. import type { NextConfig } from "next";
  2. const nextConfig: NextConfig = {
  3. /* config options here */
  4. reactStrictMode: false,
  5. images: {
  6. remotePatterns: [
  7. {
  8. protocol: "https",
  9. hostname: "localhost",
  10. port: "4000",
  11. pathname: "/uploads/**"
  12. },
  13. ],
  14. domains: [
  15. 'img.youtube.com'
  16. ]
  17. },
  18. experimental: {
  19. authInterrupts: true, // 인증 중단 기능 활성화
  20. serverActions: {
  21. bodySizeLimit: '200mb' // 최대 요청 본문 크기 설정
  22. }
  23. }
  24. };
  25. export default nextConfig;