Skip to content

Commit

Permalink
Production configuration fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
preston committed Oct 25, 2016
1 parent d178ea5 commit 3f0a93a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
# Disable serving static files from the `/public` folder by default since
# Apache or NGINX already handles this.
# config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
config.public_file_server.enabled = false
config.public_file_server.enabled = true

# Compress JavaScripts and CSS.
# config.assets.js_compressor = Uglifier.new(mangle: false) # AngularJS doesn't play well with obfuscation. :(
# config.assets.css_compressor = :sass

# Do not fallback to assets pipeline if a precompiled asset is missed.
config.assets.compile = true
config.assets.compile = false

# Asset digests allow you to set far-future HTTP expiration dates on all assets,
# yet still be able to expire them through the digest params.
Expand Down

0 comments on commit 3f0a93a

Please sign in to comment.