Skip to content

Commit eb231ab

Browse files
committed
🐛 修复漏洞
1 parent 952f9ee commit eb231ab

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ advanced:
130130
request_buffer: 8192
131131
# 超时时间
132132
timeout: 30
133+
file:
134+
# 文件检查模式,可选值为“size”(大小)和“hash”(哈希值)
135+
check: size
133136
cache:
134137
buffer: 536870912
135138
check: 360

config/config.yml.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ dashboard:
3030
username: admin
3131
download:
3232
threads: 64
33+
file:
34+
check: size
3335
storages:
3436
bmclapi:
3537
path: ./bmclapi

core/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"cache.check": 360,
2222
"download.threads": 64,
2323
"web.server_name": "TTB-Network",
24+
"file.check": "size",
2425
"web.port": 8080,
2526
"web.ssl_port": 8800,
2627
"web.force_ssl": False,

0 commit comments

Comments
 (0)