Skip to content

Commit

Permalink
#2175: Normalized homepage url for serlvet variant
Browse files Browse the repository at this point in the history
  • Loading branch information
ulischulte committed Dec 23, 2022
1 parent f7a7609 commit 0fae4b8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@ public void configurePathMatch(PathMatchConfigurer configurer) {
@Bean
public HomepageForwardingFilterConfig homepageForwardingFilterConfig() throws IOException {
String homepage = this.adminServer.path("/");
if (!"/".equals(homepage)) {
homepage = PathUtils.normalizePath(homepage);
}

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

0 comments on commit 0fae4b8

Please sign in to comment.