Skip to content

Commit

Permalink
fix: vercel url origins 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
SunYerim committed Jul 9, 2024
1 parent dc76dea commit 0e05e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/sunjoo/auth/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) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:3000, http://13.124.194.48:9000")
.allowedOrigins("http://localhost:3000, http://13.124.194.48:9000, https://sunjoo-sand.vercel.app/")
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
.allowedHeaders("*")
.exposedHeaders("Authorization")
Expand Down

0 comments on commit 0e05e64

Please sign in to comment.