diff --git a/config/environments/production.rb b/config/environments/production.rb index 139e0ba51..3b7b65877 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -92,9 +92,9 @@ config.active_record.dump_schema_after_migration = false # Redirect if not in correct domains - #config.middleware.use Rack::HostRedirect, { - # %w(coderdojo-japan.herokuapp.com www.coderdojo.jp) => 'coderdojo.jp' - #} + config.middleware.use Rack::HostRedirect, { + %w(coderdojo-japan.herokuapp.com www.coderdojo.jp) => 'coderdojo.jp' + } # Mailer settings config.action_mailer.delivery_method = :smtp