First fixed
This commit is contained in:
parent
ec53f64a64
commit
d7fdf22abb
24 changed files with 322 additions and 335 deletions
|
@ -22,7 +22,7 @@ Rails.application.configure do
|
|||
|
||||
# Disable serving static files from the `/public` folder by default since
|
||||
# Apache or NGINX already handles this.
|
||||
config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
|
||||
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
|
||||
|
||||
# Compress JavaScripts and CSS.
|
||||
config.assets.js_compressor = :uglifier
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue