Skip to content

Commit

Permalink
HOTFIX: 스웨거 cors 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
hyxklee committed Nov 10, 2024
1 parent a5ec477 commit 5921a12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public OpenAPI openAPI() {
SecurityRequirement securityRequirement = getSecurityRequireMent();

return new OpenAPI()
.addServersItem(new Server().url("https://43.203.226.98.nip.io"))
.addServersItem(new Server().url("/"))
.components(new Components().addSecuritySchemes("bearerAuth", securityScheme))
.security(List.of(securityRequirement));
}
Expand Down

0 comments on commit 5921a12

Please sign in to comment.