docs: ipv6地址提示

This commit is contained in:
xiaojunnuo
2025-10-11 16:59:28 +08:00
parent 235be757f8
commit 08094c2660
5 changed files with 39 additions and 3 deletions
@@ -19,6 +19,8 @@ export class AutoZPrint {
@Config('https')
httpsConfig: HttpsServerOptions;
@Config('koa')
koaConfig: any;
@Init()
async init() {
@@ -58,6 +60,7 @@ export class AutoZPrint {
httpsServer.start({
...this.httpsConfig,
app: this.app,
hostname: this.httpsConfig.hostname || this.koaConfig.hostname,
});
}
}