mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
commit
de2355ea97
1 changed files with 2 additions and 0 deletions
|
@ -205,6 +205,8 @@ module Fog
|
|||
case region.to_s
|
||||
when DEFAULT_REGION, ''
|
||||
's3.amazonaws.com'
|
||||
when 'cn-north-1'
|
||||
's3.cn-north-1.amazonaws.com.cn'
|
||||
else
|
||||
"s3-#{region}.amazonaws.com"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue