From 5b742c4429176a956b425f6f5a857c61f9788d00 Mon Sep 17 00:00:00 2001 From: Miguel Prieto Date: Thu, 11 Dec 2025 18:43:43 -0300 Subject: [PATCH] Use Cloudfront (S3 mirror) instead of direct raw GitHub access --- cmd/code.go | 2 +- cmd/config.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/code.go b/cmd/code.go index 7b76f03..9e8acb9 100644 --- a/cmd/code.go +++ b/cmd/code.go @@ -16,7 +16,7 @@ import ( ) const ( - defaultTemplateURL = "https://raw.githubusercontent.com/conductor-oss/cli-templates/main" + defaultTemplateURL = "https://d2ozrtblsovn5m.cloudfront.net" ) func getTemplateBaseURL() string { diff --git a/cmd/config.go b/cmd/config.go index 181e65a..a67b35e 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -259,7 +259,7 @@ func interactiveSaveConfig(profileName string) error { templateURLDefault := existingConfig["template-url"] if templateURLDefault == "" { - templateURLDefault = "https://raw.githubusercontent.com/conductor-oss/cli-templates/main" + templateURLDefault = "https://d2ozrtblsovn5m.cloudfront.net" } fmt.Fprintf(os.Stdout, "Template repo URL [%s]: ", templateURLDefault) templateURLInput, _ := reader.ReadString('\n')