Explorar o código

add https protocol to subdomains on preview

Alexander Belanger %!s(int64=4) %!d(string=hai) anos
pai
achega
7c7e52c2e3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cli/cmd/apply.go

+ 1 - 1
cli/cmd/apply.go

@@ -733,7 +733,7 @@ func (t *DeploymentHook) PostApply(populatedData map[string]interface{}) error {
 		}
 
 		if _, err := url.Parse("https://" + domain); err == nil {
-			subdomains = append(subdomains, domain)
+			subdomains = append(subdomains, "https://"+domain)
 		}
 	}