Skip to content

Commit

Permalink
Merge pull request #13 from Hackathon0704/feat/11
Browse files Browse the repository at this point in the history
Refactor: swagger 서버 url 추가
  • Loading branch information
yslle authored Jul 4, 2024
2 parents 0cba355 + 9c5f4a4 commit 9a96242
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/com/umc/dream/config/SwaggerConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ public OpenAPI openAPI() {
// Swagger UI 접속 후, 딱 한 번만 accessToken을 입력해주면 모든 API에 토큰 인증 작업이 적용됩니다.
return new OpenAPI()
.servers(Arrays.asList(
new Server().url("https://dev.seungyeon.shop").description("Develop server"), new Server().url("http://localhost:8080").description("Local server")))
new Server().url("http://3.36.57.123:8080").description("Develop server"),
new Server().url("https://dev.seungyeon.shop").description("Develop server"),
new Server().url("http://localhost:8080").description("Local server")))
.addSecurityItem(securityRequirement)
.components(components);
}
Expand Down

0 comments on commit 9a96242

Please sign in to comment.