diff --git a/config/initializers/refraction_rules.rb b/config/initializers/refraction_rules.rb index f4377eb..131fb43 100644 --- a/config/initializers/refraction_rules.rb +++ b/config/initializers/refraction_rules.rb @@ -3,7 +3,11 @@ case req.host when /travis\.heroku\.com\/builds/ # passthrough with no change (old github webhook) + when /travis\.heroku\.com/ + # old heroku address + req.permanent! :host => "travis-ci.org" when /([-\w]+\.)+travis-ci\.org/ + # we don't want to use www for now req.permanent! :host => "travis-ci.org" else # passthrough with no change