강의 자료 수정 요청 - Next.js 16 버전의 파일 업로드 사이즈 제한 설정
Next 최신 버전으로 수업 듣고 있습니다.

강의 자료에 이 파일이 들어가있는데 오히려 이 설정을 적용하면 1MB 제한이 걸려 업로드 되지 않습니다
발생된 오류 메시지
Error: Body exceeded 1 MB limit.
To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit
at ignore-listed frames {
statusCode: 413
}
⨯ uncaughtException: Error: Body exceeded 1 MB limit.
To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit
at ignore-listed frames {
statusCode: 413
}
⨯ uncaughtException: Error: Body exceeded 1 MB limit.
To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit
at ignore-listed frames {
statusCode: 413
}
⨯ Error: Body exceeded 1 MB limit.
To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit
at ignore-listed frames {
statusCode: 413,
digest: '2270266421@E394'
}강의에서 알려주는 설정으로 해야 1MB 이상 이미지가 정상 업로드 되었습니다.
experimental: {
// 'experimental' 아래에 serverActions를 정의해야 합니다.
serverActions: {
bodySizeLimit: "1000mb", // 원하는 크기로 조절하세요 (예: '50mb', '100mb')
},
},
강의 자료 수정이 필요할 것 같습니다.
답변 1
에이전트 에러
0
9
1
커스텀 에이전트 생성하기
0
6
1
mission 09-01 을 수행할 수 없어요
0
10
1
outputStyle 설정하는데 어디서 문제일까요?
0
10
2
네이버 API | '검색 - 책' API 제공 중단
0
11
0
test.txt파일 삭제시 rm명령어이니 클로드의 질문이 있어야 한다고 하셨는데
0
7
1
ArticleReadService 관련 질문
0
9
0
검은화면
0
13
2
강의교환링크안열려요.....
0
14
1
영상재생에러 [확인부탁드려요!!!]
0
13
1
kafka 이벤트 발행 실패 시 at-least-once를 보장하는 방법이 궁금합니다.
1
30
1
domain에 @Entity 와 Repository를 함께 둔 이유가 궁금합니다
1
22
1
클로드 채팅에서 코드로 넘어가기
0
16
1
클로드 코드 시작하기
0
14
1
Context API vs Zustand 그리고 Auth
0
20
2
소셜정보 수정
0
91
2
Actions formData 질문.
0
70
1
revalidatePath('/product/catalog/1')
0
83
2
이미지 변환
0
107
2
todoPagingCP.tsx에서
0
75
1
21강 이미지 출력이 안됩니다.
0
141
1
강의를 들을 때 타입스크립트 지식이 필요한가요?
0
89
1
서버 Run 실행을 할수가 없습니다. 어떻게 해야 할까요?
0
159
3
한글로 할 일 등록시 리스트 업데이트가 되지않습니다.
0
123
2





