From 9f8dc8d0a020f1889539dae32208511592344d46 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 24 Aug 2018 08:35:01 +0900 Subject: [PATCH 1/2] Fix bug --- src/services/drive/add-file.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/drive/add-file.ts b/src/services/drive/add-file.ts index b090d56ce..a60d1acbb 100644 --- a/src/services/drive/add-file.ts +++ b/src/services/drive/add-file.ts @@ -40,7 +40,7 @@ async function save(path: string, name: string, type: string, hash: string, size const thumbnailKey = `${config.drive.prefix}/${uuid.v4()}/${name}.thumbnail.jpg`; const baseUrl = config.drive.baseUrl - || `${ config.drive.config.secure ? 'https' : 'http' }://${ config.drive.config.endPoint }${ config.drive.config.port ? ':' + config.drive.config.port : '' }/${ config.drive.bucket }`; + || `${ config.drive.config.useSSL ? 'https' : 'http' }://${ config.drive.config.endPoint }${ config.drive.config.port ? ':' + config.drive.config.port : '' }/${ config.drive.bucket }`; await minio.putObject(config.drive.bucket, key, fs.createReadStream(path), size, { 'Content-Type': type, From ebc23a0560b38d2f5ec2407ac1508b44e69b15b2 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 24 Aug 2018 08:35:38 +0900 Subject: [PATCH 2/2] 8.5.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9c20b519c..bed188faa 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "misskey", "author": "syuilo ", - "version": "8.5.0", + "version": "8.5.1", "clientVersion": "1.0.8834", "codename": "nighthike", "main": "./built/index.js",