com.jimuwd.xian.registry-proxy 1.0.118 → 1.0.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -416,7 +416,7 @@ export async function startProxyServer(proxyConfigPath, localYarnConfigPath, glo
|
|
|
416
416
|
serverIpv6.on('connection', connectionHandler);
|
|
417
417
|
serverIpv4.on('connection', connectionHandler);
|
|
418
418
|
// 为了代理服务器的健壮性,先启动ipv6监听,然后再在其回调函数中启动ipv4监听
|
|
419
|
-
const listenOptions = { port, host: '
|
|
419
|
+
const listenOptions = { port, host: '*', ipv6Only: false };
|
|
420
420
|
serverIpv6.listen(listenOptions, () => {
|
|
421
421
|
const addressInfo = serverIpv6.address();
|
|
422
422
|
// 回写上层局部变量
|