Features: ;
Fixes: 1) Update environment variable references for STATIC_URL and MEDIA_URL to use 'EVIBES_BASE_DOMAIN'; Extra: ;
This commit is contained in:
parent
008ab92f95
commit
a28ce41394
1 changed files with 2 additions and 2 deletions
|
|
@ -192,10 +192,10 @@ DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
|
|||
|
||||
TIME_ZONE = getenv("TIME_ZONE", "Europe/London")
|
||||
|
||||
STATIC_URL = f"https://api.{getenv('BASE_DOMAIN')}/static/"
|
||||
STATIC_URL = f"https://api.{getenv('EVIBES_BASE_DOMAIN')}/static/"
|
||||
STATIC_ROOT = BASE_DIR / "static"
|
||||
|
||||
MEDIA_URL = f"https://api.{getenv('BASE_DOMAIN')}/media/"
|
||||
MEDIA_URL = f"https://api.{getenv('EVIBES_BASE_DOMAIN')}/media/"
|
||||
MEDIA_ROOT = BASE_DIR / "media"
|
||||
|
||||
AUTH_USER_MODEL = "vibes_auth.User"
|
||||
|
|
|
|||
Loading…
Reference in a new issue