Skip to content

Commit

Permalink
[#202] feat(WebConfig): 클라이언트 localhost 주소 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonyworld committed Aug 31, 2024
1 parent eec1926 commit a423fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/beat/global/common/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public void addArgumentResolvers(List<HandlerMethodArgumentResolver> resolvers)
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("https://www.sinjibabo.shop", "https://www.beatlive.kr")
.allowedOrigins("https://www.sinjibabo.shop", "https://www.beatlive.kr, http://localhost:5173")
.allowedMethods("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS")
.allowedHeaders("*")
.allowCredentials(true);
Expand Down

0 comments on commit a423fa0

Please sign in to comment.