修复图片显示错误

This commit is contained in:
不胜舟
2023-03-12 23:13:42 +08:00
parent 16e04fd8f2
commit ac333f6027
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -42,6 +42,7 @@ class BaseConfig:
UPLOADED_PHOTOS_DEST = 'static/upload'
UPLOADED_FILES_ALLOW = ['gif', 'jpg']
UPLOADS_AUTOSERVE = True
# JSON配置
JSON_AS_ASCII = False