Skip to content

Commit

Permalink
hotfix: add cors origin
Browse files Browse the repository at this point in the history
  • Loading branch information
CChuYong committed Jun 23, 2024
1 parent b4b39cb commit 5234e8e
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", "https://dev.no5ing.kr")
.allowedOrigins("https://bibbi.app", "https://no5ing.kr", "https://dev.api.no5ing.kr", "https://link.no5ing.kr", "https://link.bibbi.app")
.allowedMethods("GET", "POST", "PUT", "DELETE")
.allowedHeaders("Authorization", "Content-Type")
.allowCredentials(true)
Expand Down

0 comments on commit 5234e8e

Please sign in to comment.