Explorar el Código

add https protocol to subdomains on preview

Alexander Belanger hace 4 años
padre
commit
7c7e52c2e3
Se han modificado 1 ficheros con 1 adiciones y 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)
 		}
 	}