summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorHeiko Bernlöhr <Heiko.Bernloehr@FreeIT.de>2022-08-03 13:46:30 +0200
committerHeiko Bernlöhr <Heiko.Bernloehr@FreeIT.de>2022-09-15 10:02:30 +0200
commitc88db6598fb1c28c42e170ccd2bd6831fc220743 (patch)
treeae59fc9fff215e63b9c291c30335aa9f5bc15815 /config
parente711dad7c743150916758b821b53e7caeff2b15d (diff)
downloadecs-c88db6598fb1c28c42e170ccd2bd6831fc220743.tar.gz
ecs-c88db6598fb1c28c42e170ccd2bd6831fc220743.zip
Rails 6.1.4.7 and ruby 2.7.6
Diffstat (limited to 'config')
-rw-r--r--config/environments/development.rb2
-rw-r--r--config/environments/production.rb1
2 files changed, 3 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 3b1cfd3..4da6b99 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -1,3 +1,5 @@
+require "active_support/core_ext/integer/time"
+
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 210f87d..f5c9db2 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 = true
+ #config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
# Compress CSS using a preprocessor.
# config.assets.css_compressor = :sass