Skip to content

Commit

Permalink
📝 [DOCS] Update WebConfig.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ddongseop authored Jan 14, 2024
1 parent dd722c5 commit ca30ea5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class WebConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:5173", "http://localhost:8080", "http://localhost:3000", "http://localhost:3001")
.allowedOrigins("http://localhost:5173", "http://localhost:8080", "http://localhost:3000", "http://localhost:3001", "https://lecue-client.vercel.app")
.allowedMethods("GET", "POST", "PUT", "DELETE")
.allowCredentials(true)
.maxAge(3000);
Expand Down

0 comments on commit ca30ea5

Please sign in to comment.