π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Build fix
Neeraj Gupta87ce124eb4c9
diff --git a/packages/shared/network/api.ts b/packages/shared/network/api.tsindex 2a3d465050..633e89323f 100644--- a/packages/shared/network/api.ts+++ b/packages/shared/network/api.ts@@ -36,6 +36,14 @@ export const getCastFileURL = (id: number) => {return `https://cast-albums.ente.io/download/?fileID=${id}`;};+export const getCastThumbnailURL = (id: number) => {+ const endpoint = process.env.NEXT_PUBLIC_ENTE_ENDPOINT;+ if (isDevDeployment() && endpoint) {+ return `${endpoint}/cast/files/preview/${id}`;+ }+ return `https://cast-albums.ente.io/preview/?fileID=${id}`;+};+export const getThumbnailURL = (id: number) => {const endpoint = process.env.NEXT_PUBLIC_ENTE_ENDPOINT;if (isDevDeployment() && endpoint) {