Skip to content

Commit fddbf9e

Browse files
committed
Unexpected warning "Appended trailing slash to static resource location". Fixes #2947
1 parent ee0cc82 commit fddbf9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

springdoc-openapi-starter-webflux-ui/src/main/java/org/springdoc/webflux/ui/SwaggerWebFluxConfigurer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public void addResourceHandlers(ResourceHandlerRegistry registry) {
107107

108108
if (DEFAULT_WEB_JARS_PREFIX_URL.equals(webjarsPrefix)) {
109109
swaggerUiPrefix = SWAGGER_UI_PREFIX;
110-
resourcePath = webjarsPrefix + SWAGGER_UI_PREFIX + DEFAULT_PATH_SEPARATOR + swaggerUiConfigProperties.getVersion();
110+
resourcePath = webjarsPrefix + SWAGGER_UI_PREFIX + DEFAULT_PATH_SEPARATOR + swaggerUiConfigProperties.getVersion() + DEFAULT_PATH_SEPARATOR;
111111
} else {
112112
swaggerUiPrefix = webjarsPrefix;
113113
resourcePath = DEFAULT_WEB_JARS_PREFIX_URL + DEFAULT_PATH_SEPARATOR;

0 commit comments

Comments
 (0)