Disable Rails's static asset server (Apache or nginx will already do this)
This commit is contained in:
parent
a34a86fdee
commit
645d4cda3b
|
@ -9,10 +9,7 @@ AdoptAThing::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
|
||||
|
||||
# Enable Rails's static asset server
|
||||
config.serve_static_assets = true
|
||||
config.serve_static_assets = false
|
||||
|
||||
# Compress JavaScripts and CSS
|
||||
config.assets.compress = true
|
||||
|
|
Loading…
Reference in New Issue