Skip to content

Commit

Permalink
#2175: Generalized normalizing of homepage url + unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
ulischulte committed Dec 23, 2022
1 parent d7e0d62 commit 73baf01
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ public AdminUiWebfluxConfig(AdminServerUiProperties adminUi, AdminServerProperti
public HomepageForwardingFilterConfig homepageForwardingFilterConfig() throws IOException {
String webFluxBasePath = webFluxProperties.getBasePath();
boolean webfluxBasePathSet = webFluxBasePath != null;
String homepage = normalizeHomepageUrl(webfluxBasePathSet ? webFluxBasePath + "/" : this.adminServer.path("/"));
String homepage = normalizeHomepageUrl(
webfluxBasePathSet ? webFluxBasePath + "/" : this.adminServer.path("/"));

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

0 comments on commit 73baf01

Please sign in to comment.