From e1cf64ae16d4abfe4299ff16d5088c30cf3c6365 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Fri, 6 Jun 2025 22:27:17 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BF=AE=E6=94=B9=20HTTPS=20=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=99=A8=E7=9B=91=E5=90=AC=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 HTTPS服务器的监听地址从 '0.0.0.0' 修改为 '::',以支持 IPv6 https://github.com/certd/certd/issues/416 --- packages/ui/certd-server/src/modules/auto/https/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/certd-server/src/modules/auto/https/server.ts b/packages/ui/certd-server/src/modules/auto/https/server.ts index 8804dd06..67d7ef5a 100644 --- a/packages/ui/certd-server/src/modules/auto/https/server.ts +++ b/packages/ui/certd-server/src/modules/auto/https/server.ts @@ -58,7 +58,7 @@ export class HttpsServer { opts.app.callback() ); this.server = httpServer; - const hostname = '0.0.0.0'; + const hostname = '::'; // A function that runs in the context of the http server // and reports what type of server listens on which port function listeningReporter() {