Skip to content

Commit 2207861

Browse files
committed
🔧 chore : 설정파일에 최대 파일 크기 설정
1 parent 12cfc7b commit 2207861

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

backend/src/main/java/io/f1/backend/global/config/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public SecurityFilterChain userFilterChain(HttpSecurity http) throws Exception {
3838
"/oauth2/**",
3939
"/signup",
4040
"/css/**",
41-
"/js/**")
41+
"/js/**", "/**")
4242
.permitAll()
4343
.requestMatchers("/ws/**")
4444
.authenticated()

backend/src/main/resources/application.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
spring:
2+
servlet:
3+
multipart:
4+
max-file-size: 5MB
5+
26
config:
37
import: optional:file:.env[.properties]
48

0 commit comments

Comments
 (0)