Skip to content

Commit 73baf01

Browse files
committed
#2175: Generalized normalizing of homepage url + unittest
1 parent d7e0d62 commit 73baf01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-boot-admin-server-ui/src/main/java/de/codecentric/boot/admin/server/ui/config/AdminServerUiAutoConfiguration.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ public AdminUiWebfluxConfig(AdminServerUiProperties adminUi, AdminServerProperti
167167
public HomepageForwardingFilterConfig homepageForwardingFilterConfig() throws IOException {
168168
String webFluxBasePath = webFluxProperties.getBasePath();
169169
boolean webfluxBasePathSet = webFluxBasePath != null;
170-
String homepage = normalizeHomepageUrl(webfluxBasePathSet ? webFluxBasePath + "/" : this.adminServer.path("/"));
170+
String homepage = normalizeHomepageUrl(
171+
webfluxBasePathSet ? webFluxBasePath + "/" : this.adminServer.path("/"));
171172

172173
List<String> extensionRoutes = new UiRoutesScanner(this.applicationContext)
173174
.scan(this.adminUi.getExtensionResourceLocations());

0 commit comments

Comments
 (0)