perf: 支持同时监听https端口,7002

This commit is contained in:
xiaojunnuo
2024-10-26 16:36:57 +08:00
parent 4b09a0a27f
commit d5a17f9e6a
7 changed files with 132 additions and 3 deletions
@@ -24,6 +24,12 @@ const development = {
koa: {
port: 7001,
},
https: {
enabled: true,
port: 7002,
key: './data/ssl/cert.key',
cert: './data/ssl/cert.crt',
},
staticFile: {
usePrecompiledGzip: true,
buffer: true,