Browse Source

chore: bring back app info endpoint

- `/api/v1/meta/nocodb/info` - keep it for internal use and remove later

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/6649/head
Pranav C 1 year ago
parent
commit
f0fff75ea5
  1. 7
      packages/nocodb/src/controllers/utils.controller.ts

7
packages/nocodb/src/controllers/utils.controller.ts

@ -49,7 +49,12 @@ export class UtilsController {
}
@UseGuards(PublicApiLimiterGuard)
@Get(['/api/v1/db/meta/nocodb/info', '/api/v2/meta/nocodb/info'])
@Get([
'/api/v1/db/meta/nocodb/info',
'/api/v2/meta/nocodb/info',
// todo: remove this once we added the health api
'/api/v1/meta/nocodb/info',
])
async appInfo(@Request() req) {
return await this.utilsService.appInfo({
req: {

Loading…
Cancel
Save