delete:暂时移除本地文件分析

This commit is contained in:
lan
2023-01-31 21:28:28 +08:00
parent 25d7366733
commit a92b71e19a
3 changed files with 0 additions and 54 deletions
-2
View File
@@ -19,8 +19,6 @@ class Settings:
DATABASE_URL = config('DATABASE_URL', cast=str, default=f"sqlite+aiosqlite:///{DATABASE_FILE}")
# 数据存储文件夹,文件就不暴露在静态资源里面了
DATA_ROOT = './data/' + config('DATA_ROOT', cast=str, default=f"static")
# 本地文件夹
LOCAL_ROOT = './data/' + config('LOCAL_ROOT', cast=str, default=f"local")
# 静态文件夹URL
STATIC_URL = config('STATIC_URL', cast=str, default="/static")
# 开启上传