diff options
author | Heiko Bernlöhr <Heiko.Bernloehr@FreeIT.de> | 2021-12-19 23:50:53 +0100 |
---|---|---|
committer | Heiko Bernlöhr <Heiko.Bernloehr@FreeIT.de> | 2022-09-15 10:01:21 +0200 |
commit | 8a89d8352362add321ed4fdc7f604dd54e2c3251 (patch) | |
tree | dd0cac5fdaf591435717a190ef37648353a60421 | |
parent | e731b29f11d51d21b27a17949cc9302f22c5012c (diff) | |
download | ecs-8a89d8352362add321ed4fdc7f604dd54e2c3251.tar.gz ecs-8a89d8352362add321ed4fdc7f604dd54e2c3251.zip |
Rails serve static files under /public
-rw-r--r-- | config/environments/production.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index 550e151..210f87d 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -22,7 +22,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.public_file_server.enabled = true # Compress CSS using a preprocessor. # config.assets.css_compressor = :sass |