diff options
Diffstat (limited to 'server/initializers/checker-after-init.ts')
-rw-r--r-- | server/initializers/checker-after-init.ts | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/server/initializers/checker-after-init.ts b/server/initializers/checker-after-init.ts index e6432641b..dc46b5126 100644 --- a/server/initializers/checker-after-init.ts +++ b/server/initializers/checker-after-init.ts | |||
@@ -279,14 +279,6 @@ function checkObjectStorageConfig () { | |||
279 | 'Object storage bucket prefixes should be set to different values when the same bucket is used for both types of video.' | 279 | 'Object storage bucket prefixes should be set to different values when the same bucket is used for both types of video.' |
280 | ) | 280 | ) |
281 | } | 281 | } |
282 | |||
283 | if (!CONFIG.OBJECT_STORAGE.UPLOAD_ACL.PUBLIC) { | ||
284 | throw new Error('object_storage.upload_acl.public must be set') | ||
285 | } | ||
286 | |||
287 | if (!CONFIG.OBJECT_STORAGE.UPLOAD_ACL.PRIVATE) { | ||
288 | throw new Error('object_storage.upload_acl.private must be set') | ||
289 | } | ||
290 | } | 282 | } |
291 | } | 283 | } |
292 | 284 | ||