mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
`app.getUrl()` was throwing an error when `this.isListening` was set to false. The value was set _after_ `this.httpServer.listen` was called, now it is set _before_ to ensure that the `app.getUrl()` can be called in the callback of `listen`. A regression test has been added for this, and all tests related to the change are passing. fix: #5798