Serve static in production
This commit is contained in:
parent
bd85e3c5c4
commit
89f5c84d0a
@ -22,7 +22,7 @@ Rails.application.configure do
|
||||
# config.action_dispatch.rack_cache = true
|
||||
|
||||
# Disable Rails's static asset server (Apache or nginx will already do this).
|
||||
config.serve_static_assets = false
|
||||
config.serve_static_assets = true
|
||||
|
||||
# Compress JavaScripts and CSS.
|
||||
config.assets.js_compressor = :uglifier
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user