s3 service adjustment

quickly

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-07-07 17:46:06 +08:00
parent 50763ad348
commit 0e4cd86119
3 changed files with 27 additions and 9 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ exports.issueToken = async (req, res) => {
let thumbnail_url = null;
if (asset.thumbnail_storage_key) {
try {
thumbnail_url = await s3.getSignedDownloadUrl(asset.thumbnail_storage_key, TOKEN_TTL_SEC);
thumbnail_url = await s3.getPublicUrl(asset.thumbnail_storage_key);
} catch {
// Non-fatal — thumbnail is cosmetic
}