mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-28 10:51:44 +01:00 
			
		
		
		
	Fixed issue when not using compression
This commit is contained in:
		
							parent
							
								
									704a19b0a5
								
							
						
					
					
						commit
						f599bea216
					
				@ -88,6 +88,8 @@ func (h *Headscale) marshalResponse(
 | 
			
		||||
	} else {
 | 
			
		||||
		if !machineKey.IsZero() { // if legacy protocol
 | 
			
		||||
			respBody = h.privateKey.SealTo(machineKey, jsonBody)
 | 
			
		||||
		} else {
 | 
			
		||||
			respBody = jsonBody
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user