mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-10-31 19:39:20 +08:00 
			
		
		
		
	style: fix linter error
This commit is contained in:
		| @@ -1677,7 +1677,7 @@ async function shutdownFunction(signal) { | ||||
| } | ||||
|  | ||||
| function getClientIp(socket) { | ||||
|     return socket.client.conn.request.headers["x-forwarded-for"]  | ||||
|     return socket.client.conn.request.headers["x-forwarded-for"] | ||||
|             || socket.client.conn.request.headers["x-real-ip"] | ||||
|             || socket.client.conn.remoteAddress.replace(/^.*:/, ""); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user