1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Google changed their URL scheme for Cloud Storage.

see https://developers.google.com/storage/docs/reference/releasenotes
for more details.
This commit is contained in:
Nat Welch 2012-09-11 17:58:06 -07:00
parent dc28c7be85
commit f906a33b9f

View file

@ -191,7 +191,7 @@ module Fog
@google_storage_secret_access_key = options[:google_storage_secret_access_key]
@connection_options = options[:connection_options] || {}
@hmac = Fog::HMAC.new('sha1', @google_storage_secret_access_key)
@host = options[:host] || 'commondatastorage.googleapis.com'
@host = options[:host] || 'storage.googleapis.com'
@persistent = options.fetch(:persistent, true)
@port = options[:port] || 443
@scheme = options[:scheme] || 'https'