Skip to content

Commit

Permalink
[#21]feat: CloudFront CORS 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
SongGwanSeok committed Sep 12, 2024
1 parent 1e6c338 commit 81f778e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/soma/edupi/gateway/config/CorsConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public CorsConfigurationSource corsConfigurationSource() {
configuration.setAllowedOrigins(
List.of(
"http://localhost:5000",
"http://fe-alb-142217835.ap-northeast-2.elb.amazonaws.com"
"http://d33notepxaalcd.cloudfront.net"
)
);
configuration.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "OPTIONS"));
Expand Down

0 comments on commit 81f778e

Please sign in to comment.