File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212
1313 config . action_mailer . default_url_options = { host : "diaper.app" }
1414 # Full error reports are disabled and caching is turned on.
15- config . consider_all_requests_local = false
15+ config . consider_all_requests_local = false
1616 config . action_controller . perform_caching = true
1717
1818 # Disable serving static files from the `/public` folder by default since
1919 # Apache or NGINX already handles this.
2020 config . public_file_server . enabled = ENV [ "RAILS_SERVE_STATIC_FILES" ] . present?
2121
2222 # Compress JavaScripts and CSS.
23- config . assets . js_compressor = :uglifier
23+ config . assets . js_compressor = Uglifier . new ( harmony : true )
2424 # config.assets.css_compressor = :sass
2525
2626 # Do not fallback to assets pipeline if a precompiled asset is missed.
8181 # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
8282
8383 if ENV [ "RAILS_LOG_TO_STDOUT" ] . present?
84- logger = ActiveSupport ::Logger . new ( STDOUT )
84+ logger = ActiveSupport ::Logger . new ( STDOUT )
8585 logger . formatter = config . log_formatter
8686 config . logger = ActiveSupport ::TaggedLogging . new ( logger )
8787 end
You can’t perform that action at this time.
0 commit comments