Skip to content
Snippets Groups Projects
Commit 6e1346d3 authored by florimondmanca's avatar florimondmanca
Browse files

remove STATIC_ROOT in production

parent a686cc0c
Branches
No related tags found
No related merge requests found
......@@ -36,6 +36,5 @@ AWS_BASE_URL = (
MEDIA_URL = AWS_BASE_URL + 'media/'
STATIC_URL = AWS_BASE_URL + 'static/'
# Direct the MEDIA_ROOT and STATIC_ROOT to their directory
# Direct the MEDIA_ROOT to its directory
MEDIA_ROOT = 'media'
STATIC_ROOT = 'static'
......@@ -14,6 +14,7 @@ ALLOWED_HOSTS = [
'oser-cs.fr',
]
# Activate automatic Heroku settings configuration
# django_heroku.settings(locals())
del locals()['STATIC_ROOT']
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment