Skip to content

Commit

Permalink
hotfix: cors, application.yml 에러 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
gmlrude committed Oct 3, 2023
1 parent 76bfa62 commit e5bf327
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class WebConfiguration implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:3000")
.allowedOrigins("http://localhost:5173")
.allowedMethods("GET", "POST", "PUT")
.allowCredentials(true);
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/security

0 comments on commit e5bf327

Please sign in to comment.