mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-11 03:40:20 +00:00
Remove Spree::Config[:allow_ssl_in_development_and_test]
Unconditionally disables forced https-redirects in dev and test
This commit is contained in:
@@ -29,9 +29,8 @@ module Spree
|
||||
def self.ssl_supported?
|
||||
return Spree::Config[:allow_ssl_in_production] if Rails.env.production?
|
||||
return Spree::Config[:allow_ssl_in_staging] if Rails.env.staging?
|
||||
return unless Rails.env.development? || Rails.env.test?
|
||||
|
||||
Spree::Config[:allow_ssl_in_development_and_test]
|
||||
false
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user