Skip to content

Commit

Permalink
🔨 modify: web config
Browse files Browse the repository at this point in the history
  • Loading branch information
Zerohertz committed Feb 9, 2025
1 parent 1f42633 commit c039b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/server/global/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class WebConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
// FIXME: 우선은 CORS 전체 허용
registry.addMapping("/api/**")
registry.addMapping("/**")
.allowedOrigins("http://localhost:3000")
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
.allowedHeaders("*")
Expand Down

0 comments on commit c039b8e

Please sign in to comment.