Skip to content

Commit c82bae2

Browse files
committed
fix url
1 parent 2eccb93 commit c82bae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

springdoc-openapi-webflux-ui/src/main/java/org/springdoc/webflux/ui/SwaggerUiHome.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public class SwaggerUiHome {
6262
* @param optionalWebFluxProperties the optional web flux properties
6363
*/
6464
public SwaggerUiHome(Optional<WebFluxProperties> optionalWebFluxProperties) {
65-
optionalWebFluxProperties.ifPresent(webFluxProperties -> this.basePath = webFluxProperties.getBasePath());
65+
optionalWebFluxProperties.ifPresent(webFluxProperties -> this.basePath = StringUtils.defaultIfEmpty(webFluxProperties.getBasePath(),StringUtils.EMPTY ));
6666
}
6767

6868
/**

0 commit comments

Comments
 (0)