[FIX] attempting to make media folder hosting work

This commit is contained in:
2023-01-07 19:31:49 +00:00
parent 2a08ddba45
commit 011a01d176
5 changed files with 10 additions and 2 deletions

View File

@@ -279,7 +279,7 @@ STATIC_ROOT = BASE_DIR.joinpath('static')
STATICFILES_DIRS = [BASE_DIR.joinpath('breccia_mapper', 'static')]
# Media uploads
MEDIA_ROOT = BASE_DIR.joinpath('breccia_mapper', 'media')
MEDIA_ROOT = BASE_DIR.joinpath('media')
MEDIA_URL = "/media/"
# Logging - NB the logger name is empty to capture all output