From 5d06fa9617b14d812a7ed295469e98c1909a9016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=9A=82=E8=9A=81=E4=BA=91?= Date: Sat, 12 Sep 2026 22:51:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=BE=E5=85=A5=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dockerignore | 3 +-- .env | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.dockerignore b/.dockerignore index 012ed81..71f6e64 100644 --- a/.dockerignore +++ b/.dockerignore @@ -27,5 +27,4 @@ uploads !.env.example # 前端 UI 目录(按需排除,如不需要可删) -/ui -/public \ No newline at end of file +/ui \ No newline at end of file diff --git a/.env b/.env index 3e0f904..7b6659b 100644 --- a/.env +++ b/.env @@ -22,7 +22,7 @@ FASTAPI_ENV=development # 是否DEBUG模式 - True:开启调试(详细错误日志),False:关闭 FASTAPI_DEBUG=True # 是否DEMO模式 - True:演示模式(限制写操作),False:正常模式 -FASTAPI_DEMO=True +FASTAPI_DEMO=False # 应用文件上传路径 - 用户上传文件的物理存储目录 # 默认取项目根目录下的 uploads # FASTAPI_UPLOAD_DIR=/data/apps/uploads