diff --git a/config.ru b/config.ru index f3272ca3..b9a55f43 100644 --- a/config.ru +++ b/config.ru @@ -9,7 +9,7 @@ class RedirectSubdomain < Struct.new(:app, :from) def call(env) request = Rack::Request.new(env) if request.host == from - [301, { 'Location' => "https://travis-ci.org/#{request.fullpath}", 'Content-Type' => 'text/html' }, []] + [301, { 'Location' => "https://travis-ci.org#{request.fullpath}", 'Content-Type' => 'text/html' }, []] else app.call(env) end