Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Add ente.com routes for workers

Manav Rathi876cd7620709
diff --git a/infra/workers/cast-albums/wrangler.toml b/infra/workers/cast-albums/wrangler.toml
index aa0d6ec88d..2d7305fddf 100644
--- a/infra/workers/cast-albums/wrangler.toml
+++ b/infra/workers/cast-albums/wrangler.toml
@@ -3,6 +3,7 @@ main = "src/index.ts"
compatibility_date = "2026-04-23"
routes = [
+ { pattern = "cast-albums.ente.com", custom_domain = true },
{ pattern = "cast-albums.ente.io", custom_domain = true }
]
diff --git a/infra/workers/files/wrangler.toml b/infra/workers/files/wrangler.toml
index 7c053fa661..5dfea7f585 100644
--- a/infra/workers/files/wrangler.toml
+++ b/infra/workers/files/wrangler.toml
@@ -3,6 +3,7 @@ main = "src/index.ts"
compatibility_date = "2026-04-23"
routes = [
+ { pattern = "files.ente.com", custom_domain = true },
{ pattern = "files.ente.io", custom_domain = true }
]
diff --git a/infra/workers/public-albums/wrangler.toml b/infra/workers/public-albums/wrangler.toml
index d01cf7b5c9..41cd59c8e9 100644
--- a/infra/workers/public-albums/wrangler.toml
+++ b/infra/workers/public-albums/wrangler.toml
@@ -3,6 +3,7 @@ main = "src/index.ts"
compatibility_date = "2026-04-23"
routes = [
+ { pattern = "public-albums.ente.com", custom_domain = true },
{ pattern = "public-albums.ente.io", custom_domain = true }
]
diff --git a/infra/workers/sentry-reporter/wrangler.toml b/infra/workers/sentry-reporter/wrangler.toml
index 1f343978e5..57ab5bfd78 100644
--- a/infra/workers/sentry-reporter/wrangler.toml
+++ b/infra/workers/sentry-reporter/wrangler.toml
@@ -2,4 +2,7 @@ name = "sentry-reporter"
main = "src/index.ts"
compatibility_date = "2024-06-14"
-routes = [{ pattern = "sentry-reporter.ente.io", custom_domain = true }]
+routes = [
+ { pattern = "sentry-reporter.ente.com", custom_domain = true },
+ { pattern = "sentry-reporter.ente.io", custom_domain = true }
+]
diff --git a/infra/workers/thumbnails/wrangler.toml b/infra/workers/thumbnails/wrangler.toml
index bee41db468..9b34764343 100644
--- a/infra/workers/thumbnails/wrangler.toml
+++ b/infra/workers/thumbnails/wrangler.toml
@@ -3,6 +3,7 @@ main = "src/index.ts"
compatibility_date = "2026-04-23"
routes = [
+ { pattern = "thumbnails.ente.com", custom_domain = true },
{ pattern = "thumbnails.ente.io", custom_domain = true }
]
diff --git a/infra/workers/uploader/wrangler.toml b/infra/workers/uploader/wrangler.toml
index 421a04b8d5..dcc4c10eed 100644
--- a/infra/workers/uploader/wrangler.toml
+++ b/infra/workers/uploader/wrangler.toml
@@ -2,6 +2,9 @@ name = "uploader"
main = "src/index.ts"
compatibility_date = "2026-04-23"
-routes = [{ pattern = "uploader.ente.io", custom_domain = true }]
+routes = [
+ { pattern = "uploader.ente.com", custom_domain = true },
+ { pattern = "uploader.ente.io", custom_domain = true }
+]
tail_consumers = [{ service = "tail" }]