Skip to content

Commit

Permalink
do not normalize path to empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
erikpetzold committed Dec 21, 2022
1 parent d351a20 commit f7a7609
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ public HomepageForwardingFilterConfig homepageForwardingFilterConfig() throws IO
String webFluxBasePath = webFluxProperties.getBasePath();
boolean webfluxBasePathSet = webFluxBasePath != null;
String homepage = webfluxBasePathSet ? webFluxBasePath + "/" : this.adminServer.path("/");
homepage = PathUtils.normalizePath(homepage);
if (!"/".equals(homepage)) {
homepage = PathUtils.normalizePath(homepage);
}

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

0 comments on commit f7a7609

Please sign in to comment.