From 546a0e9bb9775ca879eb4e6b78086fab22edbd5c Mon Sep 17 00:00:00 2001 From: GS_song98 <20003204@sju.ac.kr> Date: Tue, 29 Oct 2024 15:45:34 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[#34]feat:=20edupi.co.kr=20=EB=8F=84?= =?UTF-8?q?=EB=A9=94=EC=9D=B8=20CORS=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/soma/edupigateway/config/CorsConfig.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/soma/edupigateway/config/CorsConfig.java b/src/main/java/soma/edupigateway/config/CorsConfig.java index 85c4ee4..6e687de 100644 --- a/src/main/java/soma/edupigateway/config/CorsConfig.java +++ b/src/main/java/soma/edupigateway/config/CorsConfig.java @@ -22,7 +22,8 @@ public CorsConfigurationSource corsConfigurationSource() { configuration.setAllowedOrigins( List.of( "http://localhost:5000", - "http://d33notepxaalcd.cloudfront.net" + "http://edupi.co.kr", + "https://edupi.co.kr" ) ); configuration.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "OPTIONS")); @@ -37,4 +38,4 @@ public CorsConfigurationSource corsConfigurationSource() { return source; } -} \ No newline at end of file +} From c1c88c05c2458437aa99051af7df59783658c8b6 Mon Sep 17 00:00:00 2001 From: GS_song98 <20003204@sju.ac.kr> Date: Tue, 29 Oct 2024 16:12:36 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[#34]feat:=20cloudfront=20=EB=8F=84?= =?UTF-8?q?=EB=A9=94=EC=9D=B8=20CORS=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/soma/edupigateway/config/CorsConfig.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/soma/edupigateway/config/CorsConfig.java b/src/main/java/soma/edupigateway/config/CorsConfig.java index 6e687de..88a386b 100644 --- a/src/main/java/soma/edupigateway/config/CorsConfig.java +++ b/src/main/java/soma/edupigateway/config/CorsConfig.java @@ -22,6 +22,8 @@ public CorsConfigurationSource corsConfigurationSource() { configuration.setAllowedOrigins( List.of( "http://localhost:5000", + "http://d33notepxaalcd.cloudfront.net", + "https://d33notepxaalcd.cloudfront.net", "http://edupi.co.kr", "https://edupi.co.kr" )