Skip to content

Commit

Permalink
chore: cors origin 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimin0304 committed Dec 9, 2023
1 parent 8705d59 commit 894ebfe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class CorsConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:3000", "http://switchcon.github.io")
.allowedOrigins("http://localhost:3000", "https://switchcon.github.io/switchcon-front")
.allowCredentials(true)
.allowedMethods("*");
}
Expand Down

0 comments on commit 894ebfe

Please sign in to comment.