1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-05 10:18:42 +09:00
This commit is contained in:
Acid Chicken (硫酸鶏) 2019-02-07 20:14:15 +09:00 committed by GitHub
parent c3140f57b9
commit 27768081e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.';
}
}