mirror of
				https://gitlab.com/MrFry/mrfrys-node-server
				synced 2025-04-01 20:24:18 +02:00 
			
		
		
		
	Added licence notice to many files, other minor type fixes
This commit is contained in:
		@@ -106,18 +106,6 @@ function LogReq(
 | 
			
		||||
  statusCode?: string | number
 | 
			
		||||
): void {
 | 
			
		||||
  try {
 | 
			
		||||
    const ip: any =
 | 
			
		||||
      req.headers['cf-connecting-ip'] || req.connection.remoteAddress
 | 
			
		||||
    // if (!toFile) {
 | 
			
		||||
    //   ip = expandWithSpaces(ip, 39)
 | 
			
		||||
    // }
 | 
			
		||||
    const nolog = noLogips.some((noLogip) => {
 | 
			
		||||
      return ip.includes(noLogip)
 | 
			
		||||
    })
 | 
			
		||||
    if (nolog) {
 | 
			
		||||
      return
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    let logEntry = '' // logHashed(ip)
 | 
			
		||||
    let dl = DELIM
 | 
			
		||||
    if (req.url.includes('lred')) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user