From f0fff75ea5b49c901504c3add544adf99352af20 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 11 Oct 2023 14:37:39 +0530 Subject: [PATCH] chore: bring back app info endpoint - `/api/v1/meta/nocodb/info` - keep it for internal use and remove later Signed-off-by: Pranav C --- packages/nocodb/src/controllers/utils.controller.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/nocodb/src/controllers/utils.controller.ts b/packages/nocodb/src/controllers/utils.controller.ts index e6d3a80198..0aee637ff4 100644 --- a/packages/nocodb/src/controllers/utils.controller.ts +++ b/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: {