lib/cli/config.rb in af-0.3.16.3 vs lib/cli/config.rb in af-0.3.16.4

- old
+ new

@@ -30,10 +30,10 @@ if File.exists? target_file @target_url = lock_and_read(target_file).strip else @target_url = DEFAULT_TARGET end - @target_url = "http://#{@target_url}" unless /^https?/ =~ @target_url + @target_url = "https://#{@target_url}" unless /^https?/ =~ @target_url @target_url = @target_url.gsub(/\/+$/, '') @target_url end def base_of(url)