Skip to content

lightgun-poc / lib/auth / isLoopback

Function: isLoopback() ​

isLoopback(addr): boolean

Defined in: lib/auth.ts:55

remoteAddress values loopback connections actually arrive with.

Parameters ​

addr ​

string | undefined

Returns ​

boolean

Released under the MIT License.