Skip to content

Commit

Permalink
fix(#125) : WebConfig 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
aeeazip committed Aug 23, 2023
1 parent cf434ce commit b70cd45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/trothly/trothcam/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public void addCorsMappings(CorsRegistry registry) {
.allowedMethods("*") // 허용할 HTTP method
.allowCredentials(true) // 쿠키 인증 요청 허용
.allowedHeaders("*")
.allowedOrigins("*")
.maxAge(3600L); // 원하는 시간만큼 pre-flight 리퀘스트를 캐싱
}
}

0 comments on commit b70cd45

Please sign in to comment.