Skip to content

Commit

Permalink
fix(#3829): error 404 is shown when /<context-path>/ is opened in bro…
Browse files Browse the repository at this point in the history
…wser
  • Loading branch information
SteKoe committed Nov 29, 2024
1 parent 104a683 commit f9ea356
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,10 @@ public HomepageForwardingFilterConfig homepageForwardingFilterConfig() throws IO

List<String> extensionRoutes = new UiRoutesScanner(this.applicationContext)
.scan(this.adminUi.getExtensionResourceLocations());
List<String> routesIncludes = Stream.concat(DEFAULT_UI_ROUTES.stream(), extensionRoutes.stream())
List<String> routesIncludes = Stream.concat(DEFAULT_UI_ROUTES.stream(), Stream.concat(extensionRoutes.stream(), Stream.of("/")))
.map(this.adminServer::path)
.collect(Collectors.toList());

List<String> routesExcludes = Stream
.concat(DEFAULT_UI_ROUTE_EXCLUDES.stream(), this.adminUi.getAdditionalRouteExcludes().stream())
.map(this.adminServer::path)
Expand Down

0 comments on commit f9ea356

Please sign in to comment.