This commit is contained in:
localhost 2024-05-08 16:31:53 +02:00
parent f57c37269c
commit 727b0ad5f9
1 changed files with 2 additions and 2 deletions

View File

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