From 111fa3284eedf6e0250fbb3e8839d4827407cc52 Mon Sep 17 00:00:00 2001 From: si-zero Date: Sat, 11 Apr 2026 21:52:27 +0900 Subject: [PATCH 1/2] =?UTF-8?q?chore:=20=EA=B0=9C=EB=B0=9C=20=EC=84=9C?= =?UTF-8?q?=EB=B2=84=20=EC=A3=BC=EC=86=8C=EC=97=90=20=EB=A7=9E=EC=B6=98=20?= =?UTF-8?q?=EC=8B=9C=ED=81=90=EB=A6=AC=ED=8B=B0=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/swyp/picke/global/config/SecurityConfig.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/swyp/picke/global/config/SecurityConfig.java b/src/main/java/com/swyp/picke/global/config/SecurityConfig.java index 379c126..c61fd52 100644 --- a/src/main/java/com/swyp/picke/global/config/SecurityConfig.java +++ b/src/main/java/com/swyp/picke/global/config/SecurityConfig.java @@ -76,7 +76,8 @@ public CorsConfigurationSource corsConfigurationSource() { "http://localhost:3000", "http://localhost:8080", "https://picke.store", - "https://www.picke.store" + "https://www.picke.store", + "https://dev.picke.store" )); configuration.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS")); From 3916f7c694c080d63f33c6b64f8b47fcfc2faad4 Mon Sep 17 00:00:00 2001 From: si-zero Date: Sat, 11 Apr 2026 21:52:38 +0900 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20=EA=B0=9C=EB=B0=9C=20=EC=84=9C?= =?UTF-8?q?=EB=B2=84=20=EC=A3=BC=EC=86=8C=EC=97=90=20=EB=A7=9E=EC=B6=98=20?= =?UTF-8?q?=EC=8A=A4=EC=9B=A8=EA=B1=B0=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/swyp/picke/global/config/SwaggerConfig.java | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/swyp/picke/global/config/SwaggerConfig.java b/src/main/java/com/swyp/picke/global/config/SwaggerConfig.java index 803b3ea..28009e0 100644 --- a/src/main/java/com/swyp/picke/global/config/SwaggerConfig.java +++ b/src/main/java/com/swyp/picke/global/config/SwaggerConfig.java @@ -25,14 +25,9 @@ public OpenAPI openAPI() { .url("http://localhost:8080") .description("Local Development Server (8080)"); - // 3. 로컬 개발 서버 (8081) - Server local8081 = new Server() - .url("http://localhost:8081") - .description("Local Development Server (8081)"); - - // 4. 실제 EC2 데브 서버 (8081) - 나중에 배포 후 확인용 + // 3. 개발 서버 (8081) Server devServer = new Server() - .url("http://picke.store:8081") + .url("https://dev.picke.store") .description("Remote Dev Server (8081)"); SecurityScheme securityScheme = new SecurityScheme() @@ -47,7 +42,7 @@ public OpenAPI openAPI() { return new OpenAPI() // 3. 서버 리스트 등록 - .servers(List.of(prodServer, local8080, local8081, devServer)) + .servers(List.of(prodServer, local8080, devServer)) .info(new Info() .title("PIQUE API 명세서") .description("PIQUE 서비스 API 명세서입니다.")