Fix empty base path when forwarding to index page (#1874)
Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com> Co-authored-by: Ilya Kuramshin <ilia-2k@rambler.ru>
This commit is contained in:
parent
aab1f5cea4
commit
dbc5d0445c
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ public class CustomWebFilter implements WebFilter {
|
|||
|
||||
final String path = exchange.getRequest().getPath().pathWithinApplication().value();
|
||||
|
||||
if (path.startsWith("/ui") || path.equals("/")) {
|
||||
if (path.startsWith("/ui") || path.equals("") || path.equals("/")) {
|
||||
return chain.filter(
|
||||
exchange.mutate().request(
|
||||
exchange.getRequest().mutate()
|
||||
|
|
Loading…
Add table
Reference in a new issue