兼容UTF-8编码

自动转换UTF-8编码的.env文件为GBK编码
允许用户在根目录配置.env文件
(优先级:.env大于data/.env)
This commit is contained in:
essesoul
2023-01-03 21:10:38 +08:00
parent 7f44093c91
commit ea52327e49
4 changed files with 39 additions and 2 deletions
+2 -1
View File
@@ -4,4 +4,5 @@ SQLAlchemy==1.4.44
python-multipart==0.0.5
uvicorn==0.15.0
greenlet==2.0.1
starlette~=0.22.0
starlette~=0.22.0
chardet == 5.1.0