This commit is contained in:
parent
52ecba53cc
commit
705b57f3a0
@ -40,7 +40,7 @@ async function run() {
|
|||||||
let minioClient = new minio.Client({
|
let minioClient = new minio.Client({
|
||||||
endPoint: minioURI.hostname,
|
endPoint: minioURI.hostname,
|
||||||
port: parseInt(minioURI.port) || (minioURI.protocol == 'https' ? 443 : 80),
|
port: parseInt(minioURI.port) || (minioURI.protocol == 'https' ? 443 : 80),
|
||||||
useSSL: minioURI.protocol == 'https',
|
useSSL: minioURI.protocol == 'https:',
|
||||||
accessKey: minioURI.username,
|
accessKey: minioURI.username,
|
||||||
secretKey: minioURI.password
|
secretKey: minioURI.password
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user