fix: 远程应用图标无法显示问题

pull/9604/head
jiangweidong 2023-02-17 15:04:30 +08:00
parent 419381bd10
commit 2cecf20944
1 changed files with 1 additions and 0 deletions

View File

@ -264,6 +264,7 @@ STATICFILES_DIRS = (
)
# Media files (File, ImageField) will be save these
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(PROJECT_DIR, 'data', 'media').replace('\\', '/') + '/'
PRIVATE_STORAGE_ROOT = MEDIA_ROOT