Skip to content

Commit

Permalink
add: WebConfig CORS 설정 프론트엔드 IP 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
pandahwang committed Oct 1, 2024
1 parent b458627 commit 1d17f6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/TeamNull/LostArk/LostArk/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ public class WebConfig implements WebMvcConfigurer {
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins(
"http://localhost:3000"
// front IP 주소 추가할 곳
"http://localhost:3000",
"http://52.79.232.220:3000"// front IP 주소 추가할 곳""
)
.allowedMethods("GET", "POST", "PUT", "DELETE")
.allowedHeaders("*")
Expand Down

0 comments on commit 1d17f6f

Please sign in to comment.