Do not serve static files from the application in production mode
This commit is contained in:
parent
e446ec57b1
commit
4a99d84919
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ Debshots::Application.configure do
|
||||||
# config.action_dispatch.rack_cache = true
|
# config.action_dispatch.rack_cache = true
|
||||||
|
|
||||||
# Disable Rails's static asset server (Apache or nginx will already do this).
|
# Disable Rails's static asset server (Apache or nginx will already do this).
|
||||||
config.serve_static_files = true
|
config.serve_static_files = false
|
||||||
|
|
||||||
# Compress JavaScripts and CSS.
|
# Compress JavaScripts and CSS.
|
||||||
config.assets.js_compressor = :uglifier
|
config.assets.js_compressor = :uglifier
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue