mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-22 12:48:58 +08:00
🔥 无用代码删除
This commit is contained in:
parent
8211fdb762
commit
8395301dd2
@ -62,9 +62,6 @@ public class PigRequestGlobalFilter implements GlobalFilter, Ordered {
|
||||
String newPath = "/" + Arrays.stream(StringUtils.tokenizeToStringArray(rawPath, "/")).skip(1L)
|
||||
.collect(Collectors.joining("/"));
|
||||
|
||||
// if (rawPath.contains("/v3/api-docs/")) {
|
||||
// newPath = "/admin/v3/api-docs";
|
||||
// }
|
||||
ServerHttpRequest newRequest = request.mutate().path(newPath).build();
|
||||
exchange.getAttributes().put(GATEWAY_REQUEST_URL_ATTR, newRequest.getURI());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user