Skip to content

Commit

Permalink
Update WebConfig.java
Browse files Browse the repository at this point in the history
  • Loading branch information
junseokkim authored Jan 2, 2024
1 parent fe1d6c0 commit cf5f8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/teami/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class WebConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:8080", "http://localhost:3000", "https://handyteam.shop")
.allowedOrigins("http://localhost:8080", "http://localhost:3000", "http://handyteam.shop", "https://handyteam.shop")
.allowCredentials(true)
.allowedHeaders("*")
.allowedMethods("*");
Expand Down

0 comments on commit cf5f8e2

Please sign in to comment.