diff --git a/images/openwisp_dashboard/module_settings.py b/images/openwisp_dashboard/module_settings.py index 4e13232c..79d29e8f 100644 --- a/images/openwisp_dashboard/module_settings.py +++ b/images/openwisp_dashboard/module_settings.py @@ -80,7 +80,11 @@ # HTML minification with django pipeline PIPELINE = {'PIPELINE_ENABLED': True} # static files minification and invalidation with django-compress-staticfiles -STATICFILES_STORAGE = 'openwisp_utils.storage.CompressStaticFilesStorage' +STORAGES = { + 'staticfiles': { + 'BACKEND': 'openwisp_utils.storage.CompressStaticFilesStorage', + }, +} BROTLI_STATIC_COMPRESSION = False # pregenerate static gzip files to save CPU GZIP_STATIC_COMPRESSION = True