Skip to content

Commit

Permalink
feat: s3 주소 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
SunYerim committed Jul 9, 2024
1 parent 0e05e64 commit d3c9e49
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, 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 d3c9e49

Please sign in to comment.