diff options
| author | Acid Chicken (硫酸鶏) <root@acid-chicken.com> | 2019-02-07 20:14:15 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-07 20:14:15 +0900 |
| commit | 27768081e21d27dff983a5c9f86c352a36603178 (patch) | |
| tree | 93db700edb3df7c348c909fd230662953224523e /src/config | |
| parent | 連合しているインスタンスを一覧できるように (diff) | |
| download | misskey-27768081e21d27dff983a5c9f86c352a36603178.tar.gz misskey-27768081e21d27dff983a5c9f86c352a36603178.tar.bz2 misskey-27768081e21d27dff983a5c9f86c352a36603178.zip | |
Fix #4179
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/load.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config/load.ts b/src/config/load.ts index 29e4a66f91..13ea237e29 100644 --- a/src/config/load.ts +++ b/src/config/load.ts @@ -72,15 +72,15 @@ export default function load() { } if (config.drive.storage === 'minio') { - if (typeof config.drive.storage.bucket !== 'string') { + if (typeof config.drive.bucket !== 'string') { throw 'You need to configure the minio bucket.'; } - if (typeof config.drive.storage.prefix !== 'string') { + if (typeof config.drive.prefix !== 'string') { throw 'You need to configure the minio prefix.'; } - if (config.drive.storage.prefix.config == null) { + if (config.drive.prefix.config == null) { throw 'You need to configure the minio.'; } } |