Browse Source

Add changelog entry, code style fixes

pull/5716/head
Szymon Łągiewka 3 weeks ago
parent
commit
7e15c6fbdf
Failed to extract signature
  1. 1
      CHANGELOG.md
  2. 14
      apps/api/src/main.ts

1
CHANGELOG.md

@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Refactored various components to use self-closing tags
- Refactored server started message to print IPv6 addresses correctly
## 2.207.0 - 2025-10-08

14
apps/api/src/main.ts

@ -92,14 +92,18 @@ async function bootstrap() {
logLogo();
let address = app.getHttpServer().address();
if (typeof address === 'object') {
const addressObj = address;
let host = addressObj.address;
if (addressObj.family === 'IPv6') {
host = `[${addressObj.address}]`;
const addressObject = address;
let host = addressObject.address;
if (addressObject.family === 'IPv6') {
host = `[${addressObject.address}]`;
}
address = `${host}:${addressObj.port}`;
address = `${host}:${addressObject.port}`;
}
Logger.log(`Listening at http://${address}`);
Logger.log('');
});

Loading…
Cancel
Save