From fbf2f5958ca8de88ce48be1e8c9a24edafaa2986 Mon Sep 17 00:00:00 2001 From: Jonatan Nilsson Date: Sat, 12 Mar 2022 22:45:05 +0000 Subject: [PATCH] server: Don't overwrite host, use service-core defaults package: Increment version --- api/server.mjs | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/server.mjs b/api/server.mjs index 4645fad..6015a5a 100644 --- a/api/server.mjs +++ b/api/server.mjs @@ -14,7 +14,7 @@ export function run(http, orgPort, ctx) { let port = orgPort || 4000 - return server.listenAsync(port, '0.0.0.0') + return server.listenAsync(port) .then(function() { ctx.log.event.info(`Server is listening on ${port} serving package ${packagePath}`) ctx.log.info(`Server is listening on ${port} serving package ${packagePath}`) diff --git a/package.json b/package.json index f958d05..60a649c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sc-helloworld", - "version": "2.0.1", + "version": "2.0.2", "description": "Hello World app for service core", "main": "index.js", "scripts": {