v0.26.2 — show full app URL on deploy page

Domain field now displays subdomain.base_domain (e.g. wiki.demo-felhom.eu)
instead of just the base domain, matching the app card display.
Applies to both pre-deploy and post-deploy settings pages.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-22 13:51:39 +01:00
parent f95f570670
commit f7556b0dad
3 changed files with 19 additions and 2 deletions
+6 -1
View File
@@ -259,7 +259,12 @@ func (s *Server) deployHandler(w http.ResponseWriter, r *http.Request, name stri
if alreadyDeployed && appCfg != nil {
for _, f := range meta.AutoGeneratedFields() {
if val, ok := appCfg.Env[f.EnvVar]; ok {
autoFieldValues[f.EnvVar] = val
// For domain fields show the full URL (subdomain.base_domain) as displayed on app cards.
if f.Type == "domain" && meta.Subdomain != "" {
autoFieldValues[f.EnvVar] = meta.Subdomain + "." + val
} else {
autoFieldValues[f.EnvVar] = val
}
}
}
} else if !alreadyDeployed {