From 3a6f002682f96b47d68d00b78cbb831ca490ef32 Mon Sep 17 00:00:00 2001 From: localhost Date: Mon, 12 Aug 2024 14:16:27 +0300 Subject: [PATCH] s2 --- utils/upload.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/upload.js b/utils/upload.js index efd34a3..a2fa76d 100644 --- a/utils/upload.js +++ b/utils/upload.js @@ -21,7 +21,7 @@ async function uploadVideo(video) { ContentType: 'video/mp4', }).promise() - return (uploaded.Location).replace(keys.endpoint, 'https://minio.archive.party') + return (uploaded.Location).replace(keys.endpoint, 'https://s2.archive.party') } async function uploadImage(id, url) { @@ -52,7 +52,7 @@ async function uploadImage(id, url) { ContentType: 'video/webp', }).promise() - return (uploaded.Location).replace(keys.endpoint, 'https://minio.archive.party') + return (uploaded.Location).replace(keys.endpoint, 'https://s2.archive.party') } }