From d6b0781dbd302a7cfc1f589c5a151e99cc1e4d05 Mon Sep 17 00:00:00 2001 From: Duncan Mac-Vicar P Date: Fri, 20 Oct 2017 23:06:05 +0200 Subject: [PATCH] enable static file serving in production --- config/environments/production.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index e18119e77..b6815e7cc 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -1,8 +1,10 @@ SoftwareOO::Application.configure do config.cache_store = :mem_cache_store, 'localhost:11211', {namespace: 'software', compress: true} + config.log_level = :debug - config.serve_static_files = false + # disabled until we figure the static.opensuse.org magic + # config.serve_static_files = false # Compress JavaScripts and CSS config.assets.js_compressor = :uglifier