File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public static void main(String[] args) {
1717 SpringApplication .run (Main .class , args );
1818 }
1919
20- // @Bean
20+ @ Bean
2121 public CommandLineRunner commandLineRunner (
2222 ProductRepository productRepository ) {
2323 return args -> {
Original file line number Diff line number Diff line change @@ -13,6 +13,12 @@ server.error.include-message=always
1313cors.allowed.origins =*
1414cors.allowed.methods =*
1515
16+ server.max-http-request-header-size =65KB
17+ spring.servlet.multipart.enabled =true
18+ spring.servlet.multipart.max-file-size =10MB
19+ spring.servlet.multipart.max-request-size =10MB
20+ spring.servlet.multipart.file-size-threshold =2KB
21+
1622# AWS S3 Configuration
1723aws.region =eu-west-1
1824aws.s3.bucket =amigoscode-product-images-prod
Original file line number Diff line number Diff line change @@ -13,6 +13,12 @@ server.error.include-message=always
1313cors.allowed.origins =*
1414cors.allowed.methods =*
1515
16+ server.max-http-request-header-size =65KB
17+ spring.servlet.multipart.enabled =true
18+ spring.servlet.multipart.max-file-size =10MB
19+ spring.servlet.multipart.max-request-size =10MB
20+ spring.servlet.multipart.file-size-threshold =2KB
21+
1622# AWS S3 Configuration (MinIO for local development)
1723aws.region =us-east-1
1824aws.s3.bucket =product-images
You can’t perform that action at this time.
0 commit comments