Skip to content

Commit

Permalink
[#3010] Hack CKAN to serve unminified files in production
Browse files Browse the repository at this point in the history
This is not a fix for #3010 but a hack to work around the issue
temporarily by serving all files unminified even in production (i.e.
even when debug = false)
  • Loading branch information
Sean Hammond committed Nov 1, 2012
1 parent c04db95 commit bbdef14
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ckan/config/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ def make_app(global_conf, full_stack=True, static_files=True, **app_conf):
fanstatic_config = {
'versioning': True,
'recompute_hashes': False,
'minified': True,
# This is a hack to serve unminified files in production.
#'minified': True,
'minified': False,
'bottom': True,
'bundle': True,
}
Expand Down

0 comments on commit bbdef14

Please sign in to comment.