Merge pull request #3792 from erikxiv/fix/listen-to-host

fix(app): listen to app.listen.host
This commit is contained in:
Ben Lambert
2020-12-21 11:39:10 +01:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Fix for `app.listen.host` configuration not properly overriding listening host.
+1 -1
View File
@@ -61,7 +61,7 @@ export async function serveBundle(options: ServeOptions) {
});
await new Promise<void>((resolve, reject) => {
server.listen(port, url.hostname, (err?: Error) => {
server.listen(port, host, (err?: Error) => {
if (err) {
reject(err);
return;