mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(EntityAssetService): include format during asset upload (#1177)
This commit is contained in:
1 parent
41ec2544cf
commit
097e10d651
1 file changed
+1
-1
@@ -139,7 +139,7 @@ export class EntityAssetService {
|
||||
const newHash = animated ? `a_${imageHashShort}` : imageHashShort;
|
||||
const isAnimated = animated;
|
||||
const newS3Key = `${s3KeyBase}/${imageHashShort}`;
|
||||
const newCdnUrl = `${cdnUrlBase}/${newHash}`;
|
||||
const newCdnUrl = `${cdnUrlBase}/${newHash}.${format}`;
|
||||
if (newHash === previousHash) {
|
||||
return {
|
||||
newHash,
|
||||
|
||||
Reference in new issue
Block a user