website/www: fix downloads

This commit is contained in:
Mitchell Hashimoto 2014-02-12 11:52:02 -08:00
parent 97f93dcf4a
commit a350f80e2f
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ if ENV["VAGRANT_VERSION"]
puts "Finding downloads for Vagrant"
raise "BINTRAY_API_KEY must be set." if !ENV["BINTRAY_API_KEY"]
http = Net::HTTP.new("dl.bintray.com", 80)
req = Net::HTTP::Get.new("/mitchellh/vagrant")
req = Net::HTTP::Get.new("/mitchellh/vagrant/")
req.basic_auth "mitchellh", ENV["BINTRAY_API_KEY"]
response = http.request(req)