Skip to content

Commit 5e96895

Browse files
committed
feat: 增加文件上传默认配置
1 parent 3b89b98 commit 5e96895

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

app/extensions/file/config.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
11
# 文件相关配置
2+
FILE = {
3+
"STORE_DIR": 'app/assets',
4+
"SINGLE_LIMIT": 1024 * 1024 * 2,
5+
"TOTAL_LIMIT": 1024 * 1024 * 20,
6+
"NUMS": 10,
7+
"INCLUDE": set([]),
8+
"EXCLUDE": set([])
9+
}

0 commit comments

Comments
 (0)