Skip to content

Commit

Permalink
🐛 修复漏洞
Browse files Browse the repository at this point in the history
  • Loading branch information
SilianZ committed Apr 15, 2024
1 parent 952f9ee commit eb231ab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ advanced:
request_buffer: 8192
# 超时时间
timeout: 30
file:
# 文件检查模式,可选值为“size”(大小)和“hash”(哈希值)
check: size
cache:
buffer: 536870912
check: 360
Expand Down
2 changes: 2 additions & 0 deletions config/config.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ dashboard:
username: admin
download:
threads: 64
file:
check: size
storages:
bmclapi:
path: ./bmclapi
Expand Down
1 change: 1 addition & 0 deletions core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"cache.check": 360,
"download.threads": 64,
"web.server_name": "TTB-Network",
"file.check": "size",
"web.port": 8080,
"web.ssl_port": 8800,
"web.force_ssl": False,
Expand Down

0 comments on commit eb231ab

Please sign in to comment.