mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 13:10:26 +08:00 
			
		
		
		
	迁移后确认后,不再自动更新管理系统API信息
This commit is contained in:
		@@ -125,6 +125,7 @@ func (this *IndexAction) RunPost(params struct {
 | 
				
			|||||||
	config.NodeId = params.NodeId
 | 
						config.NodeId = params.NodeId
 | 
				
			||||||
	config.Secret = params.Secret
 | 
						config.Secret = params.Secret
 | 
				
			||||||
	config.RPC.Endpoints = endpoints
 | 
						config.RPC.Endpoints = endpoints
 | 
				
			||||||
 | 
						config.RPC.DisableUpdate = true
 | 
				
			||||||
	err = config.WriteFile(Tea.ConfigFile("api.yaml"))
 | 
						err = config.WriteFile(Tea.ConfigFile("api.yaml"))
 | 
				
			||||||
	if err != nil {
 | 
						if err != nil {
 | 
				
			||||||
		this.Fail("配置保存失败:" + err.Error())
 | 
							this.Fail("配置保存失败:" + err.Error())
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user