From a56104702af1d34a362b9796787115d6948c32ee Mon Sep 17 00:00:00 2001 From: martsforever Date: Fri, 22 Aug 2025 16:56:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20refresh=E6=8E=A5=E5=8F=A3=E4=B9=9F?= =?UTF-8?q?=E8=A6=81=E7=BA=B3=E5=85=A5=E8=AE=A4=E8=AF=81=E7=99=BD=E5=90=8D?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 7dda3fb..1dcae54 100644 --- a/.env.example +++ b/.env.example @@ -23,4 +23,4 @@ JWT_ALGORITHM = HS256 # JWT加密算法 JWT_ACCESS_TOKEN_EXPIRE_MINUTES = 30 # JWT访问令牌默认有效时间(分钟) JWT_REFRESH_TOKEN_EXPIRE_MINUTES = 10080 # JWT刷新令牌默认有效时间(分钟)24*60*7 = 10080 JWT_GLOBAL_ENABLE = false # 是否开启全局JWT认证 -JWT_WHITE_LIST = ["/token", "/login", "/registry", "/verify", "/async_delay"] # JWT认证白名单接口,不需要认证的接口 +JWT_WHITE_LIST = ["/token", "/login", "/refresh", "/registry", "/verify", "/async_delay"] # JWT认证白名单接口,不需要认证的接口