강의 자료 수정 요청 - 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')
},
},
강의 자료 수정이 필요할 것 같습니다.
Câu trả lời 1
수강완료 안됨
0
10
1
섹션 9 미션 건너뛰어도될까요?..
0
33
2
이폴더가 신뢰할수없다는데 왜이런건가요
0
27
1
git설치에서 이름과 이메일설정
0
35
2
다나와서 보려고 하는데.. 가격이 싸질수도 있군요..?
0
32
1
eslint 설정
0
41
2
19. SSR 실습 중 any 타입스크립트 에러
0
35
1
VS Code : Claude Extension 사용
0
47
2
프로젝트메모리, 사용자 메모리 차이???
0
49
2
커서 디스플레이
0
51
2
폴더가 엉킨것같아요..
0
48
2
강의영상에 있는 anthropic docs 사이트가 없는데 어디로 들어가면되나요
0
49
2
이력 관리를 위한 history성 엔티티 관련 질문
0
42
2
Codex로는 할수 없나요?
0
60
2
C:\Users\사용자\.claude 위치에 ClLAUDE.md 파일이 없는데요
0
44
2
소셜정보 수정
0
114
2
Actions formData 질문.
0
98
1
revalidatePath('/product/catalog/1')
0
112
2
이미지 변환
0
165
2
todoPagingCP.tsx에서
0
103
1
21강 이미지 출력이 안됩니다.
0
175
1
강의를 들을 때 타입스크립트 지식이 필요한가요?
0
116
1
서버 Run 실행을 할수가 없습니다. 어떻게 해야 할까요?
0
217
3
한글로 할 일 등록시 리스트 업데이트가 되지않습니다.
0
155
2

