Skip to content

Commit

Permalink
Test: git
Browse files Browse the repository at this point in the history
  • Loading branch information
proysm committed Dec 20, 2023
1 parent 048fc5e commit 6c952bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/Donggukthon/santa/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:3000", "http://127.0.0.1:3000", "https://my-3d-tree.vercel.app") // 허용할 출처
.allowedMethods("GET", "POST", "PUT", "DELETE") // 허용할 HTTP method
.allowCredentials(true) // 쿠키 인증 요청 허용
.allowCredentials(false) // 쿠키 인증 요청 허용
.maxAge(3000); // 원하는 시간만큼 pre-flight 리퀘스트를 캐싱
}

Expand Down

0 comments on commit 6c952bc

Please sign in to comment.