aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/settings.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2019-07-03 16:58:52 +0200
committerGravatar Leon Sandøy <[email protected]>2019-07-03 16:58:52 +0200
commit3112168b7ae19444e55f59cb9ecf6ac9ee36c87a (patch)
tree780f2c9f2d533a959d36495b9525845a052d4ea9 /pydis_site/settings.py
parentReplacing hardcoded secret keys with token_urlsafe calls. (diff)
Changing the STATIC_ROOT and MEDIA_ROOT to include the root folder created by the Dockerfile
Diffstat (limited to 'pydis_site/settings.py')
-rw-r--r--pydis_site/settings.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py
index 5cc4dd99..a3241206 100644
--- a/pydis_site/settings.py
+++ b/pydis_site/settings.py
@@ -173,10 +173,10 @@ USE_TZ = True
STATIC_URL = '/static/'
STATICFILES_DIRS = [os.path.join(BASE_DIR, 'pydis_site', 'static')]
-STATIC_ROOT = env('STATIC_ROOT', default='staticfiles')
+STATIC_ROOT = env('STATIC_ROOT', default='/app/staticfiles')
MEDIA_URL = '/media/'
-MEDIA_ROOT = env('MEDIA_ROOT', default='media')
+MEDIA_ROOT = env('MEDIA_ROOT', default='/app/media')
STATICFILES_FINDERS = [
'django.contrib.staticfiles.finders.FileSystemFinder',