mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
后端服务指定 ipv4 端口启动
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ async function startServer() {
|
||||
await require('./loaders/app').default({ expressApp: app });
|
||||
|
||||
const server = app
|
||||
.listen(config.port, () => {
|
||||
.listen(config.port, '0.0.0.0', () => {
|
||||
Logger.debug(`✌️ 后端服务启动成功!`);
|
||||
console.debug(`✌️ 后端服务启动成功!`);
|
||||
process.send?.('ready');
|
||||
|
||||
Reference in New Issue
Block a user