Skip to content

Commit

Permalink
chore: cors 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ldw3097 committed Mar 30, 2024
1 parent d5fbe43 commit 30f75c3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/byulbyul/byulbyulpoll/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("*")
.allowedMethods("GET", "POST", "PUT", "DELETE")
.allowedHeaders("Authorization", "Content-Type")
.exposedHeaders("Custom-Header")
.allowCredentials(true)
.maxAge(3600);
}
}

0 comments on commit 30f75c3

Please sign in to comment.