Skip to content

Commit

Permalink
chore(fix) add fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ndu committed Dec 19, 2024
1 parent 63a9a9b commit 89f21a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/core/config/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')

MEDIA_ROOT = os.path.join(BASE_DIR, 'media')

STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'static'),
]
Expand Down
2 changes: 2 additions & 0 deletions server/core/config/production.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from .base import *

MEDIA_URL = 'https://cms.2077.xyz/media/'

DEBUG = bool(config('DJANGO_DEBUG', default=False))

ALLOWED_HOSTS = ['74.119.195.253', 'cms.2077.xyz']
Expand Down

0 comments on commit 89f21a2

Please sign in to comment.