lib/convox/client.rb in convox_installer-1.0.4 vs lib/convox/client.rb in convox_installer-1.0.5
- old
+ new
@@ -373,10 +373,11 @@
"(#{elb_name_and_region})"
end
app = config.fetch(:convox_app_name)
service = config.fetch(:default_service)
- "#{app}-#{service}.#{elb_name_and_region}.convox.site"
+ # Need to return downcase host so that `config.hosts` works with Rails applications
+ "#{app}-#{service}.#{elb_name_and_region}.convox.site".downcase
end
end
def run_convox_command!(cmd, env = {})
command = "convox #{cmd}"