mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 16:00:24 +08:00 
			
		
		
		
	提升节点组合配置效率
This commit is contained in:
		@@ -356,7 +356,7 @@ func (this *APINode) listenPorts(apiNode *models.APINode) (isListening bool) {
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// HTTPS
 | 
			
		||||
	httpsConfig, err := apiNode.DecodeHTTPS(nil)
 | 
			
		||||
	httpsConfig, err := apiNode.DecodeHTTPS(nil, nil)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		remotelogs.Error("API_NODE", "decode https config: "+err.Error())
 | 
			
		||||
		return
 | 
			
		||||
@@ -433,7 +433,7 @@ func (this *APINode) listenPorts(apiNode *models.APINode) (isListening bool) {
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// Rest HTTPS
 | 
			
		||||
	restHTTPSConfig, err := apiNode.DecodeRestHTTPS(nil)
 | 
			
		||||
	restHTTPSConfig, err := apiNode.DecodeRestHTTPS(nil, nil)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		remotelogs.Error("API_NODE", "decode REST https config: "+err.Error())
 | 
			
		||||
		return
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user