Skip to content

Commit

Permalink
changed static and media urls to avoid conflict with FE
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-oxd authored Nov 10, 2023
1 parent 13ccfcb commit fa8b324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/config/settings/django.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
# Paths and urls
APPEND_SLASH = True
ROOT_URLCONF = "config.urls"
STATIC_URL = "/static/"
STATIC_URL = "/django-static/"
STATIC_ROOT = os.path.join(SRC_DIR, 'static')
MEDIA_URL = '/django-media/'
MEDIA_ROOT = os.path.join(SRC_DIR, 'media')
MEDIA_URL = '/media/'

# Security
ALLOWED_HOSTS = env.list("DJANGO_ALLOWED_HOSTS")
Expand Down

0 comments on commit fa8b324

Please sign in to comment.