Skip to content

Commit

Permalink
url 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
SunYerim committed Jul 9, 2024
1 parent d3c9e49 commit 5c6ebc9
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://sunjoo.s3-website.ap-northeast-2.amazonaws.com/, https://sunjoo-sand.vercel.app/")
.allowedOrigins("http://localhost:3000", "http://sunjoo.s3-website.ap-northeast-2.amazonaws.com", "https://sunjoo-sand.vercel.app")
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
.allowedHeaders("*")
.exposedHeaders("Authorization")
Expand Down

0 comments on commit 5c6ebc9

Please sign in to comment.