From 953ee82a97ce7e5945f0d762108e677211051fb5 Mon Sep 17 00:00:00 2001 From: Andreas Dueren Date: Tue, 4 Nov 2025 18:09:21 -0600 Subject: [PATCH] Fix httpPorts host detection --- BUILD-INSTRUCTIONS.md | 4 ++-- CHANGELOG.md | 4 ++++ CloudronManifest.json | 2 +- start.sh | 5 +++++ 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/BUILD-INSTRUCTIONS.md b/BUILD-INSTRUCTIONS.md index 414fffc..4f154fe 100644 --- a/BUILD-INSTRUCTIONS.md +++ b/BUILD-INSTRUCTIONS.md @@ -9,14 +9,14 @@ cloudron build \ --set-build-service builder.docker.due.ren \ --build-service-token e3265de06b1d0e7bb38400539012a8433a74c2c96a17955e \ --set-repository andreasdueren/ente-cloudron \ - --tag 0.5.0 + --tag 0.5.1 ``` ## Install ```bash cloudron install \ --location ente.due.ren \ - --image andreasdueren/ente-cloudron:0.5.0 + --image andreasdueren/ente-cloudron:0.5.1 ``` ## After Install diff --git a/CHANGELOG.md b/CHANGELOG.md index 21ccfce..8c361af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.5.1 (2025-11-05) + +* Fix `httpPorts` host detection so accounts/cast/family/albums subdomains serve their static frontends again + ## 0.5.0 (2025-11-04) * Proxy Museum GET/HEAD routes (e.g. `/collections`, `/files`, `/remote-store`) so clients that talk to the primary host without `/api` still hit the backend diff --git a/CloudronManifest.json b/CloudronManifest.json index ceed31c..30b53f3 100644 --- a/CloudronManifest.json +++ b/CloudronManifest.json @@ -7,7 +7,7 @@ "contactEmail": "contact@ente.io", "website": "https://ente.io", "tagline": "Open source, end-to-end encrypted photo backup", - "version": "0.5.0", + "version": "0.5.1", "upstreamVersion": "git-main", "healthCheckPath": "/health", "httpPort": 3080, diff --git a/start.sh b/start.sh index c98eb9c..451dbda 100755 --- a/start.sh +++ b/start.sh @@ -22,6 +22,11 @@ resolve_http_hostname() { value="$(printenv "$alt_varname" 2>/dev/null || true)" fi + if [ -z "$value" ]; then + local bare_varname="${env_key}" + value="$(printenv "$bare_varname" 2>/dev/null || true)" + fi + if [ -z "$value" ]; then if [ "$APP_FQDN" = "localhost" ]; then printf '%s\n' "$APP_FQDN"