From ce02ade61db206cebe1d5ae34aea8e488189e2c8 Mon Sep 17 00:00:00 2001 From: localhost Date: Sun, 8 Mar 2026 23:12:28 +0100 Subject: [PATCH] s5 --- src/utils/upload.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/upload.ts b/src/utils/upload.ts index 5297287..fe79c2b 100644 --- a/src/utils/upload.ts +++ b/src/utils/upload.ts @@ -10,7 +10,7 @@ async function uploadVideo(video: string) { body: await Bun.file(video).arrayBuffer() }) if (!uploaded.ok) throw new Error(`failed to upload video - ${uploaded.status} (${uploaded.statusText})`) - return uploaded.url.replace(keys.endpoint, 'https://s0-2.archive.party') + return uploaded.url.replace(keys.endpoint, 'https://s5.archive.party') } async function uploadImage(id: string, url: string) { @@ -33,7 +33,7 @@ async function uploadImage(id: string, url: string) { }, body: arrayBuffer }) - return uploaded.url.replace(keys.endpoint, 'https://s0-2.archive.party') + return uploaded.url.replace(keys.endpoint, 'https://s5.archive.party') } export { uploadVideo, uploadImage } \ No newline at end of file