π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
rename
Abhinav59ed71cbc8b1
diff --git a/src/services/diskCache.ts b/src/services/diskCache.tsindex cf0093e9a9..8f89a2093d 100644--- a/src/services/diskCache.ts+++ b/src/services/diskCache.ts@@ -32,7 +32,7 @@ export class DiskCache implements LimitedCache {return new Response(await readFile(cachePath));} else {// add fallback for old cache keys- const oldCachePath = getAssetCachePath(+ const oldCachePath = getOldAssetCachePath(this.cacheBucketDir,cacheKey);@@ -55,7 +55,7 @@ export class DiskCache implements LimitedCache {}}-function getAssetCachePath(cacheDir: string, cacheKey: string) {+function getOldAssetCachePath(cacheDir: string, cacheKey: string) {// hashing the key to prevent illegal filenamesconst cacheKeyHash = crypto.createHash('sha256')