Fix S3 to work with other regions.
This commit is contained in:
parent
dc11f71ff0
commit
be25a2ba99
2 changed files with 12 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
from .responses import S3ResponseInstance
|
||||
|
||||
url_bases = [
|
||||
"https?://(?P<bucket_name>[a-zA-Z0-9\-_.]*)\.?s3.amazonaws.com"
|
||||
"https?://(?P<bucket_name>[a-zA-Z0-9\-_.]*)\.?s3(.*).amazonaws.com"
|
||||
]
|
||||
|
||||
url_paths = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue