Skip to content

Commit

Permalink
cors
Browse files Browse the repository at this point in the history
  • Loading branch information
jsangmin99 committed Sep 5, 2024
1 parent 0eeefc2 commit 14f9d20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/example/want/config/CorsConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ public class CorsConfig {
@Bean
public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration corsConfiguration = new CorsConfiguration();
corsConfiguration.addAllowedOrigin("http://localhost:3000");
// corsConfiguration.addAllowedOrigin("https://want.devhot.kr");
// corsConfiguration.addAllowedOrigin("http://localhost:3000");
corsConfiguration.addAllowedOrigin("https://want.devhot.kr");
corsConfiguration.addAllowedMethod("*");
corsConfiguration.addAllowedHeader("*");
corsConfiguration.setAllowCredentials(true);
Expand Down

0 comments on commit 14f9d20

Please sign in to comment.