fix: static_root变更
This commit is contained in:
parent
38255b3d0e
commit
0d210730a7
|
@ -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': [
|
||||
|
|
Loading…
Reference in New Issue