mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
set defaults to be scheme http, port 80, as that is what internet_archive supports
This commit is contained in:
parent
dbc1869be8
commit
6414499f4d
1 changed files with 2 additions and 2 deletions
|
@ -281,8 +281,8 @@ module Fog
|
|||
end
|
||||
@path = options[:path] || '/'
|
||||
@persistent = options.fetch(:persistent, false)
|
||||
@port = options[:port] || 443
|
||||
@scheme = options[:scheme] || 'https'
|
||||
@port = options[:port] || 80
|
||||
@scheme = options[:scheme] || 'http'
|
||||
end
|
||||
@connection = Fog::Connection.new("#{@scheme}://#{@host}:#{@port}#{@path}", @persistent, @connection_options)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue