Merge pull request #3792 from erikxiv/fix/listen-to-host
fix(app): listen to app.listen.host
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/cli': patch
|
||||
---
|
||||
|
||||
Fix for `app.listen.host` configuration not properly overriding listening host.
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user