-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnext.config.ts
More file actions
26 lines (24 loc) · 852 Bytes
/
next.config.ts
File metadata and controls
26 lines (24 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import type { NextConfig } from "next";
/** @type {import('next').NextConfig} */
const nextConfig: NextConfig = {
reactCompiler: true,
experimental: {
serverActions: {
bodySizeLimit: "10mb", // 이미지 업로드 시 파일 제한 크기
},
},
images: {
remotePatterns: [
{ protocol: "https", hostname: "lh3.googleusercontent.com", pathname: "/**" }, // Google
{ protocol: "https", hostname: "avatars.githubusercontent.com", pathname: "/**" }, // GitHub
{ protocol: "https", hostname: "cdn.discordapp.com", pathname: "/**" }, // Discord
{
protocol: "https",
hostname: "kdrtsruqkmcavjwafvmq.supabase.co",
pathname: "/storage/v1/object/public/**", // public 버킷 이미지 경로
},
],
formats: ["image/avif", "image/webp"],
},
};
export default nextConfig;