mirror of
https://github.com/discourse/discourse.git
synced 2025-04-18 09:32:26 +08:00
Remove monkey patch.
This commit is contained in:
parent
574b8fdf41
commit
2c1249f381
@ -30,16 +30,7 @@ task 'assets:precompile:before' do
|
||||
|
||||
if $node_uglify
|
||||
Rails.configuration.assets.js_compressor = nil
|
||||
|
||||
module ::Sprockets
|
||||
# TODO: https://github.com/rails/sprockets-rails/pull/342
|
||||
# Rails.configuration.assets.gzip = false
|
||||
class Base
|
||||
def skip_gzip?
|
||||
true
|
||||
end
|
||||
end
|
||||
end
|
||||
Rails.configuration.assets.gzip = false
|
||||
end
|
||||
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user