Skip to content
Snippets Groups Projects
Unverified Commit cfdeda4f authored by Xuty's avatar Xuty Committed by GitHub
Browse files

Merge pull request #2 from ivoryxiong/master

Fix S3 authorization always use default region "us-east-1" ,thanks @ivoryxiong 
parents 85aa4115 4a2825fa
Branches
Tags
No related merge requests found
......@@ -81,7 +81,7 @@ class MinioClient {
'x-amz-content-sha256': sha256sum,
});
final authorization = signV4(minio, request, date, 'us-east-1');
final authorization = signV4(minio, request, date, region);
request.headers['authorization'] = authorization;
logRequest(request);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment