Skip to content

Commit

Permalink
Merge pull request #24 from khu-bigdata-project-team-5/feat/1
Browse files Browse the repository at this point in the history
CORS 설정
  • Loading branch information
yxhwxn authored Jun 13, 2024
2 parents 9b092d3 + 0685b7c commit 06ff953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/khu/bigdata/infou/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public WebMvcConfigurer corsConfigurer() {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:3000", "https://infou-react-client.s3-website.ap-northeast-2.amazonaws.com/other")
.allowedOrigins("http://localhost:3000", "https://infou-react-client.s3-website.ap-northeast-2.amazonaws.com")
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
.allowedHeaders("*")
.allowCredentials(true);
Expand Down

0 comments on commit 06ff953

Please sign in to comment.