mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[aws|storage] one more region option set I missed
This commit is contained in:
parent
17e137efa0
commit
045b371f62
1 changed files with 4 additions and 2 deletions
|
@ -252,12 +252,14 @@ module Fog
|
|||
else
|
||||
options[:region] ||= 'us-east-1'
|
||||
@host = options[:host] || case options[:region]
|
||||
when 'ap-northeast-1'
|
||||
's3-ap-northeast-1.amazonaws.com'
|
||||
when 'ap-southeast-1'
|
||||
's3-ap-southeast-1.amazonaws.com'
|
||||
when 'eu-west-1'
|
||||
's3-eu-west-1.amazonaws.com'
|
||||
when 'us-east-1'
|
||||
's3.amazonaws.com'
|
||||
when 'ap-southeast-1'
|
||||
's3-ap-southeast-1.amazonaws.com'
|
||||
when 'us-west-1'
|
||||
's3-us-west-1.amazonaws.com'
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue