From dc184d600110fdaa267f02f1a80195b7d5069d44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=B0=8F=E4=BA=91?= Date: Wed, 10 Dec 2025 10:56:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0ZLM=E7=BD=91=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 46c862a..fed78aa 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -14,6 +14,14 @@ spring: filters: - name: WebSocketFilter + - id: zlm-route + uri: http://114.67.89.4:8778 + predicates: + - Path=/zlm/** + filters: + - RewritePath=/zlm/(?.*), /$\{segment} + - AddRequestParameter=secret, su6TiedN2rVAmBbIDX0aa0QTiBJLBdcf + # 启用 JWT 认证(默认为 false,即不启用) # spring.security.oauth2.resourceserver.jwt.enabled: false