Skip to content

Commit

Permalink
[fix] SwaggerConfig 배포 url 설정 추가 및 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chahyunsoo committed Aug 21, 2024
1 parent 92ab93e commit 19dfbba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/ussum/homepage/infra/config/SwaggerConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
, version = "v1")
)
public class SwaggerConfig {
private static final String BEARER_TOKEN_PREFIX = "Bearer";
private static final String BEARER_TOKEN_PREFIX = "bearer";
private static final String JWT = "JWT";
@Bean
public OpenAPI openAPI() {
Expand All @@ -30,7 +30,7 @@ public OpenAPI openAPI() {
.bearerFormat(JWT)
);
return new OpenAPI()
.addServersItem(new Server().url("/"))
.addServersItem(new Server().url("https://kusitms28.shop"))
.components(new Components())
.info(new Info())
.addSecurityItem(securityRequirement)
Expand Down

0 comments on commit 19dfbba

Please sign in to comment.