Minio and local licensing fixes (#9071)

This commit is contained in:
Rory Powell 2022-12-16 11:14:31 +00:00 committed by GitHub
parent 74c73279a6
commit cfadd037ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ export const ObjectStore = (
// custom S3 is in use i.e. minio
if (env.MINIO_URL) {
if (opts.presigning && !env.MINIO_ENABLED) {
if (opts.presigning && env.MINIO_ENABLED) {
// IMPORTANT: Signed urls will inspect the host header of the request.
// Normally a signed url will need to be generated with a specified host in mind.
// To support dynamic hosts, e.g. some unknown self-hosted installation url,