Skip to content

Commit

Permalink
Merge pull request #50 from EcoMarket-CUK/feature/#49
Browse files Browse the repository at this point in the history
[feature/#49] cors 추가
  • Loading branch information
veronees authored Nov 11, 2024
2 parents 61077c4 + 44ef025 commit b1838f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity httpSecurity) throws
public CorsConfiguration getCorsConfiguration(HttpServletRequest request) {
CorsConfiguration configuration = new CorsConfiguration();
configuration.setAllowedOrigins(
Arrays.asList("http://localhost:5173"));
Arrays.asList("http://localhost:5173", "https://ecomarket-cuk.shop"));
configuration.setAllowedMethods(Collections.singletonList("*"));
configuration.setAllowCredentials(true);
configuration.setAllowedHeaders(Collections.singletonList("*"));
Expand Down

0 comments on commit b1838f3

Please sign in to comment.