serve static files from rails
This commit is contained in:
Родитель
6b6a48f7d3
Коммит
9ba1289619
|
@ -20,7 +20,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
|
||||
|
|
Загрузка…
Ссылка в новой задаче