fix filter
This commit is contained in:
parent
146c1bb2a9
commit
2ac94535e6
|
@ -16,8 +16,6 @@ class IndexRewriteFilter implements WebFilter {
|
||||||
.equals("/")) {
|
.equals("/")) {
|
||||||
return webFilterChain.filter(serverWebExchange.mutate()
|
return webFilterChain.filter(serverWebExchange.mutate()
|
||||||
.request(builder -> builder.method(request.getMethod())
|
.request(builder -> builder.method(request.getMethod())
|
||||||
.contextPath(request.getPath()
|
|
||||||
.toString())
|
|
||||||
.path("/test"))
|
.path("/test"))
|
||||||
.build());
|
.build());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue