perf: 修改 HTTPS 服务器监听地址

- 将 HTTPS服务器的监听地址从 '0.0.0.0' 修改为 '::',以支持 IPv6

https://github.com/certd/certd/issues/416
pull/436/head
xiaojunnuo 2025-06-06 22:27:17 +08:00
parent d3c2f8eb43
commit e1cf64ae16
1 changed files with 1 additions and 1 deletions

View File

@ -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() {