website/www: fix downloads
This commit is contained in:
parent
97f93dcf4a
commit
a350f80e2f
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue