Serve static assets in production
This commit is contained in:
parent
4fc2447964
commit
2e14d25e94
|
@ -9,7 +9,7 @@ AdoptAHydrant::Application.configure do
|
|||
config.action_controller.perform_caching = 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 both stylesheets and JavaScripts
|
||||
config.assets.js_compressor = :uglifier
|
||||
|
|
Loading…
Reference in New Issue