From 3f7a9a6a16c17cac98f282771f48cea78f856728 Mon Sep 17 00:00:00 2001 From: martsforever Date: Sat, 30 Aug 2025 22:41:41 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9Awhite=20list=20/static/redoc.stand?= =?UTF-8?q?alone.js?= 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 96442ed..722599a 100644 --- a/.env.example +++ b/.env.example @@ -23,7 +23,7 @@ JWT_ALGORITHM = HS256 # JWT加密算法 JWT_ACCESS_TOKEN_EXPIRE_SECONDS = 1800 # JWT访问令牌默认有效时间(秒,1800s为30分钟) JWT_REFRESH_TOKEN_EXPIRE_SECONDS = 604800 # JWT刷新令牌默认有效时间(描秒,604800s为7天) JWT_GLOBAL_ENABLE = false # 是否开启全局JWT认证 -JWT_WHITE_LIST = ["/token", "/login", "/refresh", "/registry", "/verify", "/async_delay", "/", "/redoc", "/docs", "/static/swagger-ui.min.css", "/static/swagger-ui-bundle.min.js", "/openapi.json"] # JWT认证白名单接口,不需要认证的接口 +JWT_WHITE_LIST = ["/token", "/login", "/refresh", "/registry", "/verify", "/async_delay", "/", "/redoc", "/docs", "/static/swagger-ui.min.css", "/static/swagger-ui-bundle.min.js", "/openapi.json", "/static/redoc.standalone.js"] # JWT认证白名单接口,不需要认证的接口 FILE_SAVE_PATH=/www/wwwroot/web/web/upload_file/ FILE_PUBLIC_PATH=/web/upload_file/