From 727b0ad5f95ea5a63734c3aa20a2e59a3d5fe24d Mon Sep 17 00:00:00 2001 From: localhost Date: Wed, 8 May 2024 16:31:53 +0200 Subject: [PATCH] bullshit --- utils/upload.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/upload.js b/utils/upload.js index 1d395af..efd34a3 100644 --- a/utils/upload.js +++ b/utils/upload.js @@ -21,7 +21,7 @@ async function uploadVideo(video) { ContentType: 'video/mp4', }).promise() - return uploaded.Location + return (uploaded.Location).replace(keys.endpoint, 'https://minio.archive.party') } async function uploadImage(id, url) { @@ -52,7 +52,7 @@ async function uploadImage(id, url) { ContentType: 'video/webp', }).promise() - return uploaded.Location + return (uploaded.Location).replace(keys.endpoint, 'https://minio.archive.party') } }