迁移后确认后,不再自动更新管理系统API信息

This commit is contained in:
GoEdgeLab
2023-07-02 09:05:59 +08:00
parent e8c15fd4b3
commit ae06287822

View File

@@ -125,6 +125,7 @@ func (this *IndexAction) RunPost(params struct {
config.NodeId = params.NodeId
config.Secret = params.Secret
config.RPC.Endpoints = endpoints
config.RPC.DisableUpdate = true
err = config.WriteFile(Tea.ConfigFile("api.yaml"))
if err != nil {
this.Fail("配置保存失败:" + err.Error())