강의 자료 수정 요청 - 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
DataSourceAutoConfiguration exclude 설정 관련
0
12
0
Sequential Thinking API Error
0
38
1
회원 가입 폼 실습에서 value? 개념이 헷갈려요
0
32
2
컴맹도 들을수있는거맞아요?..
0
46
2
꼭 스탭 순서대로 봐야 하나요?
0
41
2
스탭마다 새로 만들면 안되나요?
0
35
2
cursor 에서 붙여넣기 옵션
0
29
2
login expired. please run / login 메세지가 뜹니다.
0
31
1
교안자료 다운로드 방법 문의
0
30
1
노드 js 관련 질문이 있습니다
0
47
2
자료 관련 질문?
0
37
1
Fanout on Read 의 학습 코드에서 질문 있어요
1
42
1
8.3 강의에서 createPortal을 삭제하지 않은 이유가 궁금합니다.
0
30
2
장바구니 질문
0
50
1
업데이트는 안되는건가요 ???
0
68
1
소셜정보 수정
0
113
2
Actions formData 질문.
0
97
1
revalidatePath('/product/catalog/1')
0
112
2
이미지 변환
0
158
2
todoPagingCP.tsx에서
0
103
1
21강 이미지 출력이 안됩니다.
0
171
1
강의를 들을 때 타입스크립트 지식이 필요한가요?
0
115
1
서버 Run 실행을 할수가 없습니다. 어떻게 해야 할까요?
0
210
3
한글로 할 일 등록시 리스트 업데이트가 되지않습니다.
0
149
2

