Autosave: 20260208-181510

This commit is contained in:
Flatlogic Bot 2026-02-08 18:15:11 +00:00
parent f4761157f9
commit 4c2a5f7938
2 changed files with 5 additions and 2 deletions

View File

@ -169,9 +169,12 @@ MEDIA_ROOT = BASE_DIR / 'media'
STATICFILES_DIRS = [ STATICFILES_DIRS = [
BASE_DIR / 'static', BASE_DIR / 'static',
BASE_DIR / 'assets', BASE_DIR / 'assets',
BASE_DIR / 'node_modules',
] ]
# Only include node_modules if it exists to avoid warnings/errors
if (BASE_DIR / 'node_modules').exists():
STATICFILES_DIRS.append(BASE_DIR / 'node_modules')
# Email # Email
EMAIL_BACKEND = os.getenv( EMAIL_BACKEND = os.getenv(
"EMAIL_BACKEND", "EMAIL_BACKEND",
@ -212,4 +215,4 @@ try:
# Use CompressedStaticFilesStorage instead of Manifest to avoid build crashes on missing files # Use CompressedStaticFilesStorage instead of Manifest to avoid build crashes on missing files
STATICFILES_STORAGE = 'whitenoise.storage.CompressedStaticFilesStorage' STATICFILES_STORAGE = 'whitenoise.storage.CompressedStaticFilesStorage'
except ImportError: except ImportError:
pass pass