From 5cb5a60cb326a47b969df9c21c7b0f16c50f7a2a Mon Sep 17 00:00:00 2001 From: David Gay Date: Mon, 7 Jun 2021 22:30:04 -0400 Subject: Serve static assets in prod, at least for now, for web worker --- config/environments/production.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'config/environments/production.rb') diff --git a/config/environments/production.rb b/config/environments/production.rb index 4333530..0100c2d 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -23,6 +23,7 @@ Rails.application.configure do # Disable serving static files from the `/public` folder by default since # Apache or NGINX already handles this. config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? + config.serve_static_assets = true # Compress CSS using a preprocessor. # config.assets.css_compressor = :sass -- cgit v1.2.3