diff --git a/src/app/api/uploadthing/core.ts b/src/app/api/uploadthing/core.ts index a926b263..204a69de 100644 --- a/src/app/api/uploadthing/core.ts +++ b/src/app/api/uploadthing/core.ts @@ -49,14 +49,14 @@ const onUploadComplete = async ({ key: file.key, name: file.name, userId: metadata.userId, - url: `https://uploadthing-prod.s3.us-west-2.amazonaws.com/${file.key}`, + url: `https://utfs.io/${file.key}`, uploadStatus: 'PROCESSING', }, }) try { const response = await fetch( - `https://uploadthing-prod.s3.us-west-2.amazonaws.com/${file.key}` + `https://utfs.io/${file.key}` ) const blob = await response.blob()