Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tweaking of the refraction rules
  • Loading branch information
joshk committed Feb 15, 2011
1 parent 885e8be commit 2b0f6fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/initializers/refraction_rules.rb
Expand Up @@ -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
Expand Down

0 comments on commit 2b0f6fd

Please sign in to comment.