From d47c1b55dceaf543c99368c15bab18a9ef87ecf0 Mon Sep 17 00:00:00 2001 From: MinJunKKang Date: Mon, 25 Aug 2025 23:37:47 +0900 Subject: [PATCH] =?UTF-8?q?=EC=96=B4=EB=96=BB=EA=B2=8C=EB=93=A0=20?= =?UTF-8?q?=EB=90=98=EA=B2=A0=EC=A7=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../likelion13th/canfly/global/config/SwaggerConfig.java | 6 +++++- src/main/resources/application.yml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/hackerthon/likelion13th/canfly/global/config/SwaggerConfig.java b/src/main/java/hackerthon/likelion13th/canfly/global/config/SwaggerConfig.java index 4051930..e12366e 100644 --- a/src/main/java/hackerthon/likelion13th/canfly/global/config/SwaggerConfig.java +++ b/src/main/java/hackerthon/likelion13th/canfly/global/config/SwaggerConfig.java @@ -39,11 +39,15 @@ public OpenAPI openAPI() { .url("http://canfly.ap-northeast-2.elasticbeanstalk.com/") .description("Canfly HTTP Server"); + Server httpsServer = new Server() + .url("https://can-fly.shop") + .description("canfly HTTPS Server"); + return new OpenAPI() .info(apiInfo) .addSecurityItem(securityRequirement) .components(components) - .servers(List.of(localServer, httpServer)); + .servers(List.of(localServer, httpServer, httpsServer)); } @Bean diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index bda25d7..9c2d51f 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -126,7 +126,7 @@ spring: client: registration: kakao: - redirect-uri: http://canfly.ap-northeast-2.elasticbeanstalk.com/login/oauth2/code/kakao + redirect-uri: https://www.can-fly.shop/login/oauth2/code/kakao server: tomcat: