mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-06 07:30:40 +00:00
Fix "missing webpack-stats.json" 500 error in CMS
The STATIC_ROOT for the CMS is not the same as the LMS. To apply this fix, run: make update make assets make restart-openedx Close #111.
This commit is contained in:
parent
e864e94bb5
commit
ef7c769808
@ -80,7 +80,7 @@ def run_npm(args):
|
||||
|
||||
def run_webpack(args):
|
||||
os.environ['STATIC_ROOT_LMS'] = args.static_root
|
||||
os.environ['STATIC_ROOT_CMS'] = args.static_root
|
||||
os.environ['STATIC_ROOT_CMS'] = os.path.join(args.static_root, 'studio')
|
||||
os.environ['NODE_ENV'] = {
|
||||
'prod': 'production',
|
||||
'dev': 'development',
|
||||
|
Loading…
Reference in New Issue
Block a user