mirror of
https://github.com/certd/certd.git
synced 2026-04-30 01:07:28 +08:00
perf: 修改 HTTPS 服务器监听地址
- 将 HTTPS服务器的监听地址从 '0.0.0.0' 修改为 '::',以支持 IPv6 https://github.com/certd/certd/issues/416
This commit is contained in:
@@ -58,7 +58,7 @@ export class HttpsServer {
|
|||||||
opts.app.callback()
|
opts.app.callback()
|
||||||
);
|
);
|
||||||
this.server = httpServer;
|
this.server = httpServer;
|
||||||
const hostname = '0.0.0.0';
|
const hostname = '::';
|
||||||
// A function that runs in the context of the http server
|
// A function that runs in the context of the http server
|
||||||
// and reports what type of server listens on which port
|
// and reports what type of server listens on which port
|
||||||
function listeningReporter() {
|
function listeningReporter() {
|
||||||
|
|||||||
Reference in New Issue
Block a user