@whyour/qinglong 0.19.8 → 0.19.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whyour/qinglong",
3
- "version": "0.19.8",
3
+ "version": "0.19.9",
4
4
  "description": "Timed task management platform supporting Python3, JavaScript, Shell, Typescript",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,7 +14,7 @@ async function startServer() {
14
14
  await require('./loaders/sentry').default({ expressApp: app });
15
15
  await require('./loaders/app').default({ expressApp: app });
16
16
  const server = app
17
- .listen(config_1.default.port, () => {
17
+ .listen(config_1.default.port, '0.0.0.0', () => {
18
18
  var _a;
19
19
  logger_1.default.debug(`✌️ 后端服务启动成功!`);
20
20
  console.debug(`✌️ 后端服务启动成功!`);
@@ -19,7 +19,7 @@ app.get('/api/health', (req, res) => {
19
19
  });
20
20
  });
21
21
  app
22
- .listen(config_1.default.publicPort, async () => {
22
+ .listen(config_1.default.publicPort, '0.0.0.0', async () => {
23
23
  var _a;
24
24
  await require('./loaders/sentry').default({ expressApp: app });
25
25
  await require('./loaders/db').default();
@@ -13,7 +13,7 @@ async function startServer() {
13
13
  (0, depInjector_1.default)();
14
14
  await require('./loaders/update').default({ app });
15
15
  app
16
- .listen(config_1.default.updatePort, () => {
16
+ .listen(config_1.default.updatePort, '0.0.0.0', () => {
17
17
  var _a;
18
18
  logger_1.default.debug(`✌️ 更新服务启动成功!`);
19
19
  console.debug(`✌️ 更新服务启动成功!`);