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 a2b1b6c commit 6b3cdd6
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("/"))
.addServersItem(new Server().url("https://43.203.226.98.nip.io"))
.components(new Components().addSecuritySchemes("bearerAuth", securityScheme))
.security(List.of(securityRequirement));
}
Expand Down

0 comments on commit 6b3cdd6

Please sign in to comment.