fix: static_root变更

This commit is contained in:
caoqianming 2023-03-24 14:15:13 +08:00
parent 38255b3d0e
commit 0d210730a7
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/3.0/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR,'static')
STATIC_ROOT = os.path.join(BASE_DIR, 'dist/static')
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': [