This commit is contained in:
localhost 2024-08-12 14:16:27 +03:00
parent 67ef015561
commit 3a6f002682
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ async function uploadVideo(video) {
ContentType: 'video/mp4', ContentType: 'video/mp4',
}).promise() }).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) { async function uploadImage(id, url) {
@ -52,7 +52,7 @@ async function uploadImage(id, url) {
ContentType: 'video/webp', ContentType: 'video/webp',
}).promise() }).promise()
return (uploaded.Location).replace(keys.endpoint, 'https://minio.archive.party') return (uploaded.Location).replace(keys.endpoint, 'https://s2.archive.party')
} }
} }