Skip to content

Commit

Permalink
style: WebConfig 주석 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
pandahwang committed Oct 1, 2024
1 parent 7fba482 commit a258089
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/com/TeamNull/LostArk/LostArk/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ public class WebConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:3000")
.allowedOrigins(
"http://localhost:3000"
// front IP 주소 추가할 곳
)
.allowedMethods("GET", "POST", "PUT", "DELETE")
.allowedHeaders("*")
.allowCredentials(true);
Expand Down

0 comments on commit a258089

Please sign in to comment.