From 8180f60477e99c4fd70ce25729d1ca65155a6686 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 12 Jan 2023 08:41:16 +0100 Subject: Fix ACL incompatibility with some s3 providers We'll move to another method in the future See https://github.com/Chocobozzz/PeerTube/issues/5497 --- server/initializers/checker-after-init.ts | 8 -------- 1 file changed, 8 deletions(-) (limited to 'server/initializers/checker-after-init.ts') diff --git a/server/initializers/checker-after-init.ts b/server/initializers/checker-after-init.ts index 09e878eee..c83fef425 100644 --- a/server/initializers/checker-after-init.ts +++ b/server/initializers/checker-after-init.ts @@ -278,14 +278,6 @@ function checkObjectStorageConfig () { 'Object storage bucket prefixes should be set to different values when the same bucket is used for both types of video.' ) } - - if (!CONFIG.OBJECT_STORAGE.UPLOAD_ACL.PUBLIC) { - throw new Error('object_storage.upload_acl.public must be set') - } - - if (!CONFIG.OBJECT_STORAGE.UPLOAD_ACL.PRIVATE) { - throw new Error('object_storage.upload_acl.private must be set') - } } } -- cgit v1.2.3