Skip to content

Commit

Permalink
feat: add cors dev server
Browse files Browse the repository at this point in the history
  • Loading branch information
CChuYong authored Jun 21, 2024
1 parent aa8bc81 commit e27932b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/src/main/java/com/oing/config/SpringWebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public void addArgumentResolvers(List<HandlerMethodArgumentResolver> resolvers)
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("https://bibbi.app", "https://no5ing.kr")
.allowedOrigins("https://bibbi.app", "https://no5ing.kr", "https://dev.no5ing.kr")
.allowedMethods("GET", "POST", "PUT", "DELETE")
.allowedHeaders("Authorization", "Content-Type")
.allowCredentials(true)
Expand Down

0 comments on commit e27932b

Please sign in to comment.