강의 자료 수정 요청 - Next.js 16 버전의 파일 업로드 사이즈 제한 설정
0
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')
},
},
강의 자료 수정이 필요할 것 같습니다.
javascript
react
spring-boot
jpa
next.js
Answer 1
터미널에서 커서 AI 직접 실행
0
7
1
해결했습니다
0
9
1
copilot-instruction.md
0
6
0
미션 제출 방식 건의
0
10
0
강의 슬라이드 자료
1
20
2
이런 경우는 어떤 조치를 취해야할까요?
0
11
1
트랜잭션 내 Redis I/O 에 대한 궁금한점
1
15
1
미션 진행 방식에 대한 질문입니다.
0
18
1
hooks 설정이 안되요
0
17
2
영상 최신으로 엡데이트 요청
0
57
2
소스 코드가 회사 보안 프로그램에 막혀서 안 보여요.
0
43
2
claude code 상태표시줄 궁금합니다!
0
40
2
수파베이스 데모 버전
0
33
1
10월 15일 삭제예정 강의 문의
0
32
1
설치의 필요성
0
64
2
소셜정보 수정
0
108
2
Actions formData 질문.
0
86
1
revalidatePath('/product/catalog/1')
0
101
2
이미지 변환
0
138
2
todoPagingCP.tsx에서
0
91
1
21강 이미지 출력이 안됩니다.
0
161
1
강의를 들을 때 타입스크립트 지식이 필요한가요?
0
107
1
서버 Run 실행을 할수가 없습니다. 어떻게 해야 할까요?
0
184
3
한글로 할 일 등록시 리스트 업데이트가 되지않습니다.
0
142
2

