Skip to content

Commit

Permalink
Merge pull request #132 from yooonwodyd/weekly
Browse files Browse the repository at this point in the history
refactor:[#84]- refact Security
  • Loading branch information
yooonwodyd authored Nov 15, 2024
2 parents 21765eb + ff48aa6 commit a47ff7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://1.618.s3-website.ap-northeast-2.amazonaws.com", "http://localhost:3000")
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
.allowedHeaders("Authorization", "Content-Type", "X-Requested-With", "accept", "Origin", "Access-Control-Request-Method", "Access-Control-Request-Headers")
.allowedHeaders("Authorization", "Content-Type", "X-Requested-With", "accept", "Origin", "Access-Control-Request-Method", "Access-Control-Request-Headers","cross-control-allow-origin")
.allowCredentials(true);
}
}

0 comments on commit a47ff7e

Please sign in to comment.