Skip to content

Commit

Permalink
[πŸ› fixed] : cors
Browse files Browse the repository at this point in the history
  • Loading branch information
oat431 committed Aug 22, 2022
1 parent f9d444d commit de6287c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public WebMvcConfigurer corsConfigurer(){
@Override
public void addCorsMappings(CorsRegistry registry){
registry.addMapping("/**")
.allowedOrigins("http://localhost:3000","http://localhost:3300","http://localhost:5500")
.allowedOrigins("http://localhost:3300","http://52.230.104.188")
.exposedHeaders("x-total-count");
}
};
Expand Down

0 comments on commit de6287c

Please sign in to comment.