summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorAcid Chicken (硫酸鶏) <root@acid-chicken.com>2019-02-07 20:14:15 +0900
committerGitHub <noreply@github.com>2019-02-07 20:14:15 +0900
commit27768081e21d27dff983a5c9f86c352a36603178 (patch)
tree93db700edb3df7c348c909fd230662953224523e /src/config
parent連合しているインスタンスを一覧できるように (diff)
downloadmisskey-27768081e21d27dff983a5c9f86c352a36603178.tar.gz
misskey-27768081e21d27dff983a5c9f86c352a36603178.tar.bz2
misskey-27768081e21d27dff983a5c9f86c352a36603178.zip
Fix #4179
Diffstat (limited to 'src/config')
-rw-r--r--src/config/load.ts6
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.';
}
}