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') } }