Merge branch 'develop' of https://github.com/getmaxun/maxun into develop

This commit is contained in:
RohitR311
2024-11-04 23:42:45 +05:30

View File

@@ -109,7 +109,8 @@ class BinaryOutputService {
await this.uploadBinaryOutputToMinioBucket(run, minioKey, binaryData);
// Construct the public URL for the uploaded object
const publicUrl = `http://${process.env.MINIO_ENDPOINT}:${process.env.MINIO_PORT}/${this.bucketName}/${minioKey}`;
// todo: use minio endpoint
const publicUrl = `http://localhost:${process.env.MINIO_PORT}/${this.bucketName}/${minioKey}`;
// Save the public URL in the result object
uploadedBinaryOutput[key] = publicUrl;