From 2b0f6fdee77c80291f1110c05c99049fdce15f42 Mon Sep 17 00:00:00 2001 From: Josh Kalderimis Date: Tue, 15 Feb 2011 14:32:42 +0100 Subject: [PATCH] tweaking of the refraction rules --- config/initializers/refraction_rules.rb | 4 ++++ 1 file changed, 4 insertions(+) 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