Do not serve static assets in production per default.
This commit is contained in:
parent
6ab9209c2e
commit
c5ae5e767c
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ Zammad::Application.configure do
|
||||||
config.action_controller.perform_caching = true
|
config.action_controller.perform_caching = 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_assets = true
|
config.serve_static_assets = false
|
||||||
|
|
||||||
# Compress JavaScripts and CSS
|
# Compress JavaScripts and CSS
|
||||||
config.assets.compress = true
|
config.assets.compress = true
|
||||||
|
|
Loading…
Reference in a new issue