From 252141560f8ffcf88f18347f2161b5f3c78ffe12 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Fri, 12 Feb 2021 23:09:38 +0100 Subject: Switch to minio v7 API The secure parameter is now called useSSL https://github.com/minio/minio-js/releases/tag/7.0.0 Signed-off-by: David Mehren --- lib/web/imageRouter/minio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/web/imageRouter/minio.js b/lib/web/imageRouter/minio.js index fe43f76f..91de5ff1 100644 --- a/lib/web/imageRouter/minio.js +++ b/lib/web/imageRouter/minio.js @@ -10,7 +10,7 @@ const Minio = require('minio') const minioClient = new Minio.Client({ endPoint: config.minio.endPoint, port: config.minio.port, - secure: config.minio.secure, + useSSL: config.minio.secure, accessKey: config.minio.accessKey, secretKey: config.minio.secretKey }) -- cgit v1.2.3