Просмотр исходного кода

add https protocol to subdomains on preview

Alexander Belanger 4 лет назад
Родитель
Сommit
7c7e52c2e3
1 измененных файлов с 1 добавлено и 1 удалено
  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)
 		}
 	}