From cbf1e9175f2b4a7638376a4ffa5c4a87d120dc87 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Fri, 14 Oct 2022 20:15:48 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/metersphere/gateway/filter/SessionFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/gateway/src/main/java/io/metersphere/gateway/filter/SessionFilter.java b/framework/gateway/src/main/java/io/metersphere/gateway/filter/SessionFilter.java index e0461b0276..79b1b217c0 100644 --- a/framework/gateway/src/main/java/io/metersphere/gateway/filter/SessionFilter.java +++ b/framework/gateway/src/main/java/io/metersphere/gateway/filter/SessionFilter.java @@ -45,7 +45,7 @@ public class SessionFilter implements WebFilter { } } - // 有些url直接转到 /setting + // 有些url直接转到 sub-service for (String prefix : TO_SUB_SERVICE) { if (path.startsWith(prefix)) { Optional svc = discoveryClient.getServices().stream().filter(s -> !StringUtils.equals(serviceName, s)).findAny();