Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 204 Bytes
require 'rack'
class GiveMe
def self.call(env)
location = ENV['GIVE_ME_URL'] || 'http://google.com'
[ 301, { 'Content-Type' => 'text/html', 'Location' => location }, [] ]
end
end
run GiveMe