From 015b7fe5b16eff80997facc851e267e623c5fbb0 Mon Sep 17 00:00:00 2001 From: Krishna Date: Sat, 13 Apr 2024 00:18:18 +0530 Subject: [PATCH] hotfix: add url Signed-off-by: Krishna --- apps/utility/src/utilities.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/utility/src/utilities.service.ts b/apps/utility/src/utilities.service.ts index a1c66bdd8..ae299f334 100644 --- a/apps/utility/src/utilities.service.ts +++ b/apps/utility/src/utilities.service.ts @@ -53,7 +53,7 @@ export class UtilitiesService { try { const uuid = uuidv4(); const uploadResult:S3.ManagedUpload.SendData = await this.awsService.storeObject(payload.persistent, uuid, payload.storeObj); - const url: string = `https://${uploadResult.Bucket}.s3.${process.env.AWS_S3_STOREOBJECT_REGION}.amazonaws.com/${uploadResult.Key}`; + const url: string = `${process.env.SHORTENED_URL_DOMAIN}/${uploadResult.Key}`; return url; } catch (error) { this.logger.error(error);