Skip to content

Commit

Permalink
Add playbox redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
alindeman committed Jun 19, 2011
1 parent 60f74c1 commit 00626d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions redirect.rb
Expand Up @@ -5,6 +5,10 @@
redirect "https://alindeman.s3.amazonaws.com/#{params[:captures].first}", 301 # moved permanently
end

get %r{^/playbox/(.*)$} do
redirect "http://alindeman.s3-website-us-east-1.amazonaws.com/playbox/#{params[:captures].first}", 301 # moved permanently
end

get %r{^(.*)$} do
redirect "http://alindeman.github.com#{params[:captures].first}", 301 # moved permanently
end

0 comments on commit 00626d3

Please sign in to comment.