🐛 (upload) Fix file upload generated URL in preview
This commit is contained in:
@ -101,7 +101,7 @@ export const generateUploadUrl = publicProcedure
|
|||||||
? `${visibility === 'Private' ? 'private' : 'public'}/workspaces/${
|
? `${visibility === 'Private' ? 'private' : 'public'}/workspaces/${
|
||||||
typebot.workspaceId
|
typebot.workspaceId
|
||||||
}/typebots/${typebotId}/results/${resultId}/${fileName}`
|
}/typebots/${typebotId}/results/${resultId}/${fileName}`
|
||||||
: `/public/tmp/${typebotId}/${fileName}`
|
: `public/tmp/${typebotId}/${fileName}`
|
||||||
|
|
||||||
const presignedPostPolicy = await generatePresignedPostPolicy({
|
const presignedPostPolicy = await generatePresignedPostPolicy({
|
||||||
fileType,
|
fileType,
|
||||||
|
Reference in New Issue
Block a user