Browse Source

HOT-FIX: corrige leitura de json do front em dev

merged-migrations-2021
Leandro Roberto 4 years ago
parent
commit
8872cb4e7e
  1. 3
      sapl/settings.py

3
sapl/settings.py

@ -279,6 +279,9 @@ WEBPACK_LOADER = {
'IGNORE': [r'.+\.hot-update.js', r'.+\.map']
}
}
if DEBUG and not WEBPACK_LOADER['DEFAULT']['STATS_FILE'].exists():
WEBPACK_LOADER['DEFAULT']['STATS_FILE'] = PROJECT_DIR.child(
'frontend').child(f'webpack-stats.json')
STATIC_URL = '/static/'

Loading…
Cancel
Save