nomid2 commited on
Commit
7df9437
·
verified ·
1 Parent(s): f162614

Upload server.js

Browse files
Files changed (1) hide show
  1. src/server.js +5 -5
src/server.js CHANGED
@@ -71,11 +71,11 @@ process.on('SIGINT', () => {
71
 
72
  // 启动服务器
73
  const server = app.listen(SERVER_CONFIG.PORT, () => {
74
- logger.logInfo('SERVER_START', '服务器启动成功', {
75
- port: SERVER_CONFIG.PORT,
76
- url: `http://localhost:${SERVER_CONFIG.PORT}`,
77
- nodeVersion: process.version,
78
- platform: process.platform
79
  })
80
  console.log(`服务已启动在 http://localhost:${SERVER_CONFIG.PORT}`)
81
  })
 
71
 
72
  // 启动服务器
73
  const server = app.listen(SERVER_CONFIG.PORT, () => {
74
+ logger.logInfo('服务器启动', '服务器启动成功', {
75
+ 端口: SERVER_CONFIG.PORT,
76
+ 地址: `http://localhost:${SERVER_CONFIG.PORT}`,
77
+ Node版本: process.version,
78
+ 操作系统: process.platform
79
  })
80
  console.log(`服务已启动在 http://localhost:${SERVER_CONFIG.PORT}`)
81
  })