summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Mehren2021-02-12 23:09:38 +0100
committerDavid Mehren2021-02-12 23:11:37 +0100
commit252141560f8ffcf88f18347f2161b5f3c78ffe12 (patch)
tree7ba4d2ebdaf05e31ebe3d39eac4f5042a94f7830 /lib
parent1153b9a1bb07d8ea0fb1cdb23107b8b9ecaa181b (diff)
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 <git@herrmehren.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/web/imageRouter/minio.js2
1 files changed, 1 insertions, 1 deletions
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
})