Browse Source

fix: add timeout to feed-back form api

Re #3555

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/3572/head
mertmit 2 years ago
parent
commit
2c50abbed9
  1. 4
      packages/nocodb/src/lib/meta/api/utilApis.ts

4
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);
})

Loading…
Cancel
Save