fix uploads url issue

This commit is contained in:
KMKoushik
2024-08-26 21:08:59 +10:00
parent f9105971f0
commit 9cd628f6ce

View File

@@ -210,7 +210,7 @@ export const campaignRouter = createTRPCRouter({
input.type
);
const imageUrl = `${env.S3_COMPATIBLE_PUBLIC_URL}/${DEFAULT_BUCKET}/${team.id}/${randomName}`;
const imageUrl = `${env.S3_COMPATIBLE_PUBLIC_URL}/${team.id}/${randomName}`;
return { uploadUrl: url, imageUrl };
}),