diff --git a/src/main/java/soma/edupigateway/config/CorsConfig.java b/src/main/java/soma/edupigateway/config/CorsConfig.java index 85c4ee4..88a386b 100644 --- a/src/main/java/soma/edupigateway/config/CorsConfig.java +++ b/src/main/java/soma/edupigateway/config/CorsConfig.java @@ -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")); @@ -37,4 +40,4 @@ public CorsConfigurationSource corsConfigurationSource() { return source; } -} \ No newline at end of file +}