mirror of https://github.com/certd/certd
perf: 修改 HTTPS 服务器监听地址
- 将 HTTPS服务器的监听地址从 '0.0.0.0' 修改为 '::',以支持 IPv6 https://github.com/certd/certd/issues/416pull/436/head
parent
d3c2f8eb43
commit
e1cf64ae16
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue