diff --git a/config.yaml b/config.yaml index f7c39a7..889f76e 100644 --- a/config.yaml +++ b/config.yaml @@ -192,6 +192,7 @@ daily_ratelimit: - "python" # Python脚本 - "java" # Java脚本 - "go-http-client" # Go HTTP客户端 + - "LangShen" enable_referer: true # 是否检查Referer allowed_referers: # 允许的Referer diff --git a/configs/env.production.yaml b/configs/env.production.yaml index 554011e..22af317 100644 --- a/configs/env.production.yaml +++ b/configs/env.production.yaml @@ -148,6 +148,7 @@ daily_ratelimit: - "curl" # 阻止curl请求 - "wget" # 阻止wget请求 - "python-requests" # 阻止Python requests + - "LangShen" # 阻止LangShen请求 enable_referer: true # 启用Referer检查 allowed_referers: # 允许的Referer