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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user