自动提交token
This commit is contained in:
16
.env
Normal file
16
.env
Normal file
@@ -0,0 +1,16 @@
|
||||
UPLOAD_TOKEN=
|
||||
|
||||
# 多个上传接口 URL,用 ; 或 , 分隔(不要用 ':' 分隔)
|
||||
# 例:UPLOAD_ENDPOINTS=http://127.0.0.1:8317/v0/management/auth-files;http://127.0.0.1:46344/v0/management/auth-files
|
||||
UPLOAD_ENDPOINTS=
|
||||
|
||||
# 默认 endpoint(当未设置 UPLOAD_ENDPOINTS 且未传 --endpoint 时使用)
|
||||
UPLOAD_ENDPOINT=http://127.0.0.1:8317/v0/management/auth-files
|
||||
|
||||
# 默认 SQLite DB 文件名(当未传 --db 时使用)
|
||||
UPLOAD_DB=upload_state.sqlite3
|
||||
|
||||
# JSON 子目录:支持绝对路径或相对 --dir 的路径
|
||||
# Linux 示例:/usr/local/openai_register/tokens
|
||||
# Windows 示例:C:\Users\<you>\Desktop\tokens\tokens
|
||||
UPLOAD_JSON_SUBDIR=
|
||||
Reference in New Issue
Block a user