Skip to content

Commit

Permalink
fix: Cors 권한 축소
Browse files Browse the repository at this point in the history
  • Loading branch information
ay-eonii committed Sep 3, 2023
1 parent 228ce9b commit 2597524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/land/leets/global/config/CorsConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedMethods("OPTIONS", "HEAD", "GET", "POST", "PUT", "PATCH", "DELETE")
.allowCredentials(true)
.allowedOrigins(productionOrigin, "http://localhost:3000");
.allowedOrigins(productionOrigin);
}
}

0 comments on commit 2597524

Please sign in to comment.