update:update readme

This commit is contained in:
lan
2022-12-16 09:23:56 +08:00
parent d4823601f2
commit 1fc60c0c01
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -104,6 +104,8 @@ DATABASE_URL=sqlite+aiosqlite:///database.db
DATA_ROOT=./static
# 静态文件夹URL
STATIC_URL=/static
# 开启上传
ENABLE_UPLOAD=True
# 错误次数
ERROR_COUNT=5
# 错误限制分钟数
+2 -2
View File
@@ -102,8 +102,6 @@ then restart the container.
If it is not Docker, you need to create a `data` folder in the same directory as the project, and then create a `.env`
file
```bash
```dotenv
# 端口
PORT=12345
@@ -113,6 +111,8 @@ DATABASE_URL=sqlite+aiosqlite:///database.db
DATA_ROOT=./static
# 静态文件夹URL
STATIC_URL=/static
# 开启上传
ENABLE_UPLOAD=True
# 错误次数
ERROR_COUNT=5
# 错误限制分钟数