fix: remove forced ssl on production

This commit is contained in:
Karol Sójko
2020-11-09 10:08:30 +01:00
parent 54c0698264
commit 85220aae6a

View File

@@ -1,9 +1,6 @@
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
config.force_ssl = true
config.ssl_options = { redirect: { exclude: -> request { request.path =~ /healthcheck/ } } }
# Code is not reloaded between requests.
config.cache_classes = true