Skip to content

Commit

Permalink
enable static file serving in production
Browse files Browse the repository at this point in the history
  • Loading branch information
dmacvicar committed Oct 20, 2017
1 parent 3e09e0f commit d6b0781
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d6b0781

Please sign in to comment.