Skip to content

Commit

Permalink
[FIX] https cors 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
SolfE authored Oct 26, 2024
1 parent e4b24a8 commit c6575b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/catspot/cors/WebMvcConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ public class WebMvcConfig implements WebMvcConfigurer {
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/api/**")
.allowedMethods("GET", "POST")
.allowedOrigins("http://localhost:5173", "https://catspot-dev.web.app");
.allowedOrigins("http://localhost:5173", "https://catspot.vercel.app");
}
}

0 comments on commit c6575b8

Please sign in to comment.