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
+7 -1
View File
@@ -387,7 +387,13 @@ func (m *Manager) PreviewDeployValues(name string) (map[string]string, error) {
for _, field := range meta.DeployFields {
switch field.Type {
case "domain":
result[field.EnvVar] = m.cfg.Customer.Domain
// Show the full URL the app will be reachable at (subdomain.base_domain).
// This is informational only — DeployStack always stores the base domain.
if meta.Subdomain != "" {
result[field.EnvVar] = meta.Subdomain + "." + m.cfg.Customer.Domain
} else {
result[field.EnvVar] = m.cfg.Customer.Domain
}
case "secret":
if field.Generate == "" {
continue