Merge branch 'master' into 13804-no-shutdown-wanted-nodes
[arvados.git] / apps / workbench / config / environments / production.rb.example
index 209556cbf4731e190afe41d28651a68cd40d35c9..8b656c5a7746519eaffe4fdf13a8a50a9145efd2 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 ArvadosWorkbench::Application.configure do
   # Settings specified here will take precedence over those in config/application.rb
 
@@ -9,10 +13,10 @@ ArvadosWorkbench::Application.configure do
   config.action_controller.perform_caching = true
 
   # Disable Rails's static asset server (Apache or nginx will already do this)
-  config.serve_static_assets = false
+  config.serve_static_files = false
 
   # Compress JavaScripts and CSS
-  config.assets.js_compressor = :yui
+  config.assets.js_compressor = :uglifier
 
   # Don't fallback to assets pipeline if a precompiled asset is missed
   config.assets.compile = false