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: