Fix SSL flag for Minio
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Lauri Võsandi 2022-02-15 23:33:22 +02:00
parent 52ecba53cc
commit 705b57f3a0

View File

@ -40,7 +40,7 @@ async function run() {
let minioClient = new minio.Client({
endPoint: minioURI.hostname,
port: parseInt(minioURI.port) || (minioURI.protocol == 'https' ? 443 : 80),
useSSL: minioURI.protocol == 'https',
useSSL: minioURI.protocol == 'https:',
accessKey: minioURI.username,
secretKey: minioURI.password
});