diff options
author | Chocobozzz <me@florianbigard.com> | 2023-01-12 08:54:13 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-01-12 08:54:13 +0100 |
commit | 3f3530c3dbc5339b4cba53710b8568b4ad39152e (patch) | |
tree | ad919a3acc8b1bf76ae5a1a1c11c65f4683e7f06 /server/initializers | |
parent | cdd3cef91152c72eb14427427c54be1cb63744f7 (diff) | |
parent | 7a0bcd67735ca43d8afa50bfcd4624de383553a7 (diff) | |
download | PeerTube-3f3530c3dbc5339b4cba53710b8568b4ad39152e.tar.gz PeerTube-3f3530c3dbc5339b4cba53710b8568b4ad39152e.tar.zst PeerTube-3f3530c3dbc5339b4cba53710b8568b4ad39152e.zip |
Merge branch 'release/5.0.0' into develop
Diffstat (limited to 'server/initializers')
-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 | ||