lib/core/transport.rb in rise-cli-0.1.4 vs lib/core/transport.rb in rise-cli-0.1.5

- old
+ new

@@ -1,9 +1,8 @@ ## # This file handles all communication to the Upto servers ## -require 'colorize' require 'rex/text' require 'uri' require 'json' require 'http' @@ -24,10 +23,10 @@ @uuid = "#{File.basename(File.absolute_path(folder_path))}-#{Rex::Text::rand_text_alphanumeric(8)}" # Structure: foldername-8RNDLTRS end def upload!(*) upload_uri_base = "http://rise.sh:8080/api/v1/#{@uuid}" - access_uri = "http://rise.sh/#{@uuid}" + access_uri = "https://rise.sh/#{@uuid}" uri = '' # This sorts the files by (file path) length. # It is supposed to make the server make the first layer of files # before the rest of the layers.