fix(gateway): type portal dual-stack connection

This commit is contained in:
Peter Steinberger
2026-08-12 01:01:09 -07:00
parent 5343d8ec56
commit eeb41d2b47
+2 -1
View File
@@ -210,7 +210,8 @@ export function handlePortalProxyRequest(params: {
// Next.js) often bind ::1 only, and family autoselection reaches either stack.
const proxyReq = requestHttp({
hostname: "localhost",
autoSelectFamily: true,
createConnection: () =>
net.connect({ host: "localhost", autoSelectFamily: true, port: target.targetPort }),
port: target.targetPort,
method: req.method,
path: authorization.requestPath,