We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb33efe + de8ed15 commit 5644654Copy full SHA for 5644654
1 file changed
src/main/java/umc/codeplay/config/WebConfig.java
@@ -17,7 +17,7 @@ public void addCorsMappings(CorsRegistry registry) {
17
.allowedOrigins("*") // 모든 출처로 부터 요청 허용 - TODO: 변경해야 함
18
.allowedMethods(ALLOWED_METHOD_NAMES)
19
.allowedHeaders("Content-Type", "Authorization")
20
- .maxAge(3600); // 캐싱 시간 설정
21
- // .exposedHeaders("Authorization") // 클라이언트가 접근할 수 있는 헤더
+ .maxAge(3600) // 캐싱시간 설정
+ .exposedHeaders("Authorization"); // 클라이언트가 접근할 수 있는 헤더
22
}
23
0 commit comments