File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,8 @@ DATABASE_URL=sqlite+aiosqlite:///database.db
104104DATA_ROOT=./static
105105# 静态文件夹URL
106106STATIC_URL=/static
107+ # 开启上传
108+ ENABLE_UPLOAD=True
107109# 错误次数
108110ERROR_COUNT=5
109111# 错误限制分钟数
Original file line number Diff line number Diff line change @@ -102,8 +102,6 @@ then restart the container.
102102If it is not Docker, you need to create a ` data ` folder in the same directory as the project, and then create a ` .env `
103103file
104104
105- ``` bash
106-
107105``` dotenv
108106# 端口
109107PORT=12345
@@ -113,6 +111,8 @@ DATABASE_URL=sqlite+aiosqlite:///database.db
113111DATA_ROOT=./static
114112# 静态文件夹URL
115113STATIC_URL=/static
114+ # 开启上传
115+ ENABLE_UPLOAD=True
116116# 错误次数
117117ERROR_COUNT=5
118118# 错误限制分钟数
You can’t perform that action at this time.
0 commit comments