Skip to content

Commit

Permalink
Merge pull request #35 from edu-pi/feature/issue34
Browse files Browse the repository at this point in the history
[#34]feat: edupi.co.kr 도메인 CORS 추가
  • Loading branch information
SongGwanSeok authored Oct 29, 2024
2 parents 6e40f75 + c1c88c0 commit 011be8a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/java/soma/edupigateway/config/CorsConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ public CorsConfigurationSource corsConfigurationSource() {
configuration.setAllowedOrigins(
List.of(
"http://localhost:5000",
"http://d33notepxaalcd.cloudfront.net"
"http://d33notepxaalcd.cloudfront.net",
"https://d33notepxaalcd.cloudfront.net",
"http://edupi.co.kr",
"https://edupi.co.kr"
)
);
configuration.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "OPTIONS"));
Expand All @@ -37,4 +40,4 @@ public CorsConfigurationSource corsConfigurationSource() {

return source;
}
}
}

0 comments on commit 011be8a

Please sign in to comment.