Skip to content

Commit

Permalink
Merge pull request #290 from fourix4/dev
Browse files Browse the repository at this point in the history
cors 허용 url 추가
  • Loading branch information
llynn97 authored Aug 8, 2024
2 parents b670b9f + 3dc3c46 commit 9ac1fb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public CorsFilter corsFilter() {
CorsConfiguration corsConfig = new CorsConfiguration();

corsConfig.setAllowCredentials(true);
corsConfig.setAllowedOrigins(Arrays.asList("http://localhost:3000","http://43.202.63.201"));
corsConfig.setAllowedOrigins(Arrays.asList("http://localhost:3000","http://43.202.63.201","https://catch-study.kro.kr"));
corsConfig.addAllowedHeader("*");
corsConfig.addAllowedMethod("*");
corsConfig.addExposedHeader("*");
Expand Down

0 comments on commit 9ac1fb1

Please sign in to comment.