π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
workers: switch media proxy workers to api.ente.com and bump compat
Manav Rathief0545409736
diff --git a/infra/workers/cast-albums/src/index.ts b/infra/workers/cast-albums/src/index.tsindex dec71fac47..e493132299 100644--- a/infra/workers/cast-albums/src/index.ts+++ b/infra/workers/cast-albums/src/index.ts@@ -70,7 +70,7 @@ const handleGET = async (request: Request) => {};let response = await fetch(- `https://api.ente.io/cast/files${pathname}${fileID}?${params.toString()}`,+ `https://api.ente.com/cast/files${pathname}${fileID}?${params.toString()}`,{ headers },);diff --git a/infra/workers/cast-albums/wrangler.toml b/infra/workers/cast-albums/wrangler.tomlindex 3496aebe7a..aa0d6ec88d 100644--- a/infra/workers/cast-albums/wrangler.toml+++ b/infra/workers/cast-albums/wrangler.toml@@ -1,6 +1,6 @@name = "cast-albums"main = "src/index.ts"-compatibility_date = "2025-06-03"+compatibility_date = "2026-04-23"routes = [{ pattern = "cast-albums.ente.io", custom_domain = true }diff --git a/infra/workers/files/src/index.ts b/infra/workers/files/src/index.tsindex 0dda4e39dc..6956e790d5 100644--- a/infra/workers/files/src/index.ts+++ b/infra/workers/files/src/index.ts@@ -82,7 +82,7 @@ const handleGET = async (request: Request) => {};let response = await fetch(- `https://api.ente.io/files/download/${fileID}?${params.toString()}`,+ `https://api.ente.com/files/download/${fileID}?${params.toString()}`,{ headers },);diff --git a/infra/workers/files/wrangler.toml b/infra/workers/files/wrangler.tomlindex 12e27ade88..7c053fa661 100644--- a/infra/workers/files/wrangler.toml+++ b/infra/workers/files/wrangler.toml@@ -1,6 +1,6 @@name = "files"main = "src/index.ts"-compatibility_date = "2025-06-03"+compatibility_date = "2026-04-23"routes = [{ pattern = "files.ente.io", custom_domain = true }diff --git a/infra/workers/public-albums/src/index.ts b/infra/workers/public-albums/src/index.tsindex ef036f513b..d64da1f80c 100644--- a/infra/workers/public-albums/src/index.ts+++ b/infra/workers/public-albums/src/index.ts@@ -79,7 +79,7 @@ const handleGET = async (request: Request) => {};let response = await fetch(- `https://api.ente.io/public-collection/files${pathname}${fileID}?${params.toString()}`,+ `https://api.ente.com/public-collection/files${pathname}${fileID}?${params.toString()}`,{ headers },);diff --git a/infra/workers/public-albums/wrangler.toml b/infra/workers/public-albums/wrangler.tomlindex 4643736fd6..d01cf7b5c9 100644--- a/infra/workers/public-albums/wrangler.toml+++ b/infra/workers/public-albums/wrangler.toml@@ -1,6 +1,6 @@name = "public-albums"main = "src/index.ts"-compatibility_date = "2025-06-03"+compatibility_date = "2026-04-23"routes = [{ pattern = "public-albums.ente.io", custom_domain = true }diff --git a/infra/workers/thumbnails/src/index.ts b/infra/workers/thumbnails/src/index.tsindex 1672680ac6..5d0ed62ad1 100644--- a/infra/workers/thumbnails/src/index.ts+++ b/infra/workers/thumbnails/src/index.ts@@ -74,7 +74,7 @@ const handleGET = async (request: Request) => {};let response = await fetch(- `https://api.ente.io/files/preview/${fileID}?${params.toString()}`,+ `https://api.ente.com/files/preview/${fileID}?${params.toString()}`,{ headers },);diff --git a/infra/workers/thumbnails/wrangler.toml b/infra/workers/thumbnails/wrangler.tomlindex 8c7117c848..bee41db468 100644--- a/infra/workers/thumbnails/wrangler.toml+++ b/infra/workers/thumbnails/wrangler.toml@@ -1,6 +1,6 @@name = "thumbnails"main = "src/index.ts"-compatibility_date = "2025-06-03"+compatibility_date = "2026-04-23"routes = [{ pattern = "thumbnails.ente.io", custom_domain = true }