fix(auth): clarify LAN auth and mobile guidance (#2035)

* fix(auth): clarify LAN auth and mobile guidance

* chore: retrigger PR checks

---------

Co-authored-by: bashrusakh <bashrusakh@users.noreply.github.com>
This commit is contained in:
Leonid
2026-07-11 15:23:34 +03:00
committed by GitHub
co-authored by bashrusakh
parent d5745aaac9
commit 0d4118e87a
12 changed files with 35 additions and 10 deletions
@@ -176,6 +176,10 @@ const isLocalHost = (host, req) => {
return true;
}
if (isPrivateOrLoopbackIp(host)) {
return true;
}
if (host === 'host.docker.internal') {
return isPrivateOrLoopbackIp(getSocketRemoteIp(req));
}