@rest-vir/run-service 0.8.2 → 0.8.3

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.
@@ -27,7 +27,7 @@ export async function startService(service, userOptions = {}, fastifyPlugins = [
27
27
  /** Only run a single server. */
28
28
  const result = await startServer(service, options, fastifyPlugins);
29
29
  if (options.port) {
30
- service.logger.info(`${service.serviceName} started on http://localhost:${options.port}`);
30
+ service.logger.info(`${service.serviceName} started on http://${result.host}:${result.port}`);
31
31
  }
32
32
  return result;
33
33
  }
@@ -46,7 +46,7 @@ export async function startService(service, userOptions = {}, fastifyPlugins = [
46
46
  if (check.instanceOf(manager, ClusterManager)) {
47
47
  await manager.startWorkers();
48
48
  if (options.port) {
49
- service.logger.info(`${service.serviceName} started on http://localhost:${options.port}`);
49
+ service.logger.info(`${service.serviceName} started on http://${options.host}:${options.port}`);
50
50
  }
51
51
  return {
52
52
  host: options.host,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rest-vir/run-service",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "Run a service defined by @rest-vir/define-service and implemented by @rest-vir/implement-service.",
5
5
  "keywords": [
6
6
  "rest",
@@ -43,8 +43,8 @@
43
43
  "@augment-vir/common": "^31.10.0",
44
44
  "@augment-vir/node": "^31.10.0",
45
45
  "@fastify/websocket": "^11.0.2",
46
- "@rest-vir/define-service": "^0.8.2",
47
- "@rest-vir/implement-service": "^0.8.2",
46
+ "@rest-vir/define-service": "^0.8.3",
47
+ "@rest-vir/implement-service": "^0.8.3",
48
48
  "cluster-vir": "^0.1.0",
49
49
  "date-vir": "^7.3.1",
50
50
  "fastify": "^5.2.1",