chore: Update CHANGELOG and API routes

Updated CHANGELOG.md with details of the current release.
Modified src/api/routes/index.router.ts to improve the API routing.

These changes are part of the ongoing maintenance and improvement of the project.
This commit is contained in:
Davidson Gomes 2024-07-30 18:38:13 -03:00
parent 8118c68dce
commit a49c63bc2b
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
# 2.0.5-rc (release candidate)
### Fixed
* ClientName on infos
# 2.0.4-rc (2024-07-30 14:13) # 2.0.4-rc (2024-07-30 14:13)
### Features ### Features

View File

@ -69,6 +69,7 @@ router
status: HttpStatus.OK, status: HttpStatus.OK,
message: 'Welcome to the Evolution API, it is working!', message: 'Welcome to the Evolution API, it is working!',
version: packageJson.version, version: packageJson.version,
clientName: process.env.DATABASE_CONNECTION_CLIENT_NAME,
manager: !serverConfig.DISABLE_MANAGER ? `${req.protocol}://${req.get('host')}/manager` : undefined, manager: !serverConfig.DISABLE_MANAGER ? `${req.protocol}://${req.get('host')}/manager` : undefined,
documentation: `https://doc.evolution-api.com`, documentation: `https://doc.evolution-api.com`,
}); });