diff --git a/readme.md b/readme.md index 1fbe18f..3238aeb 100644 --- a/readme.md +++ b/readme.md @@ -104,6 +104,8 @@ DATABASE_URL=sqlite+aiosqlite:///database.db DATA_ROOT=./static # 静态文件夹URL STATIC_URL=/static +# 开启上传 +ENABLE_UPLOAD=True # 错误次数 ERROR_COUNT=5 # 错误限制分钟数 diff --git a/readme_en.md b/readme_en.md index ff910f0..3d958b5 100644 --- a/readme_en.md +++ b/readme_en.md @@ -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 # 错误限制分钟数