Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down