adding minio URL to objectStoreUrl check
This commit is contained in:
parent
150fc3b11d
commit
4d77353692
|
@ -34,7 +34,7 @@ exports.checkSlashesInUrl = url => {
|
|||
* @return {string} The base URL of the object store (MinIO or S3).
|
||||
*/
|
||||
exports.objectStoreUrl = () => {
|
||||
if (env.SELF_HOSTED) {
|
||||
if (env.SELF_HOSTED || env.MINIO_URL) {
|
||||
// can use a relative url for this as all goes through the proxy (this is hosted in minio)
|
||||
return OBJ_STORE_DIRECTORY
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue