do not encode signed url

This commit is contained in:
Fendy Heryanto
2026-01-29 15:22:46 +07:00
parent b60f5187e2
commit 736956beab

View File

@@ -85,11 +85,11 @@ export async function serializeCellValue(
.filter((attachment) => attachment)
.map(
(attachment) =>
`${attachment.title || 'Attachment'}(${encodeURI(
`${attachment.title || 'Attachment'}(${
attachment.signedPath
? `${siteUrl}/${attachment.signedPath}`
: attachment.signedUrl,
)})`,
? encodeURI(`${siteUrl}/${attachment.signedPath}`)
: attachment.signedUrl
})`,
)
.join(', ');
}