SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit d28e72dd authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Fix potential static root bug

parent 677380a5
No related branches found
No related tags found
No related merge requests found
...@@ -193,7 +193,7 @@ STATICFILES_DIRS = ( ...@@ -193,7 +193,7 @@ STATICFILES_DIRS = (
WEBPACK_LOADER = { WEBPACK_LOADER = {
'DEFAULT': { 'DEFAULT': {
'CACHE': not DEBUG, 'CACHE': not DEBUG,
'BUNDLE_DIR_NAME': 'static/bundles/', 'BUNDLE_DIR_NAME': host_settings["STATIC_ROOT"] + 'bundles/',
'STATS_FILE': os.path.join(BASE_DIR, 'webpack-stats.json'), 'STATS_FILE': os.path.join(BASE_DIR, 'webpack-stats.json'),
'POLL_INTERVAL': 0.1, 'POLL_INTERVAL': 0.1,
'TIMEOUT': None, 'TIMEOUT': None,
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment