some fix
This commit is contained in:
@@ -59,6 +59,8 @@ INSTALLED_APPS = [
|
||||
'api',
|
||||
'torrent',
|
||||
]
|
||||
if DEBUG:
|
||||
INSTALLED_APPS = ["daphne"] + INSTALLED_APPS
|
||||
|
||||
MIDDLEWARE = [
|
||||
'django.middleware.security.SecurityMiddleware',
|
||||
@@ -139,6 +141,7 @@ USE_TZ = True
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
STATICFILES_DIRS = [
|
||||
BASE_DIR / "static",
|
||||
BASE_DIR / "frontend/dist",
|
||||
]
|
||||
STATIC_ROOT = BASE_DIR / "static_collected"
|
||||
|
||||
Reference in New Issue
Block a user