From c2b695b017befb1c24beb216c27a8eba1cbae098 Mon Sep 17 00:00:00 2001 From: f Date: Thu, 6 Feb 2020 13:17:36 -0300 Subject: [PATCH] =?UTF-8?q?no=20habilitar=20protecci=C3=B3n=20contra=20dns?= =?UTF-8?q?=20rebinding=20en=20producci=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/initializers/hosts.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/hosts.rb b/config/initializers/hosts.rb index 05ed2f5b..58ee2e39 100644 --- a/config/initializers/hosts.rb +++ b/config/initializers/hosts.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true Rails.application.configure do - next if ENV['RAILS_ENV'] == 'test' + next unless ENV['RAILS_ENV'] == 'development' domain = ENV.fetch('SUTTY', 'sutty.nl')