File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ const (
1616 ENERGY = "energy"
1717 DomainYangHY = "https://energy.yanghy.cn"
1818 DomainGithub = "https://energye.github.io"
19+ DomainGitee = "https://energye.gitee.io"
1920 BASE_CONFIG_URL = "/data/model-base-config.json"
2021 LATEST_VERSION_URL = "/data/latest-version.json"
2122 CMD_VERSION_URL = "/data/command-line-tools.json"
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ func InitDevEnvConfig(wd string) {
7474 // 创建
7575 GlobalDevEnvConfig = & EnergyConfig {
7676 homedir : config ,
77- Registry : consts .DomainYangHY ,
77+ Registry : consts .DomainGitee ,
7878 Root : wd ,
7979 }
8080 GlobalDevEnvConfig .Update ()
@@ -94,7 +94,7 @@ func InitDevEnvConfig(wd string) {
9494 return
9595 }
9696 if strings .TrimSpace (GlobalDevEnvConfig .Registry ) == "" {
97- GlobalDevEnvConfig .Registry = consts .DomainYangHY
97+ GlobalDevEnvConfig .Registry = consts .DomainGitee
9898 GlobalDevEnvConfig .Update ()
9999 }
100100 if strings .TrimSpace (GlobalDevEnvConfig .Root ) == "" {
You can’t perform that action at this time.
0 commit comments