From 2c50abbed9ac9aae77a748d553ced24746ef6fdb Mon Sep 17 00:00:00 2001 From: mertmit Date: Sat, 10 Sep 2022 09:55:02 +0300 Subject: [PATCH] fix: add timeout to feed-back form api Re #3555 Signed-off-by: mertmit --- packages/nocodb/src/lib/meta/api/utilApis.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/nocodb/src/lib/meta/api/utilApis.ts b/packages/nocodb/src/lib/meta/api/utilApis.ts index 750e980590..6e4b1205cb 100644 --- a/packages/nocodb/src/lib/meta/api/utilApis.ts +++ b/packages/nocodb/src/lib/meta/api/utilApis.ts @@ -82,7 +82,9 @@ export async function versionInfo(_req: Request, res: Response) { export async function feedbackFormGet(_req: Request, res: Response) { axios - .get('https://nocodb.com/api/v1/feedback_form') + .get('https://nocodb.com/api/v1/feedback_form', { + timeout: 5000, + }) .then((response) => { res.json(response.data); })