Browse Source

feat(nocodb): add auditEnabled in appInfo

pull/5137/head
Wing-Kam Wong 2 years ago
parent
commit
c22e8fff5a
  1. 1
      packages/nocodb/src/lib/meta/api/utilApis.ts

1
packages/nocodb/src/lib/meta/api/utilApis.ts

@ -54,6 +54,7 @@ export async function appInfo(req: Request, res: Response) {
timezone: defaultConnectionConfig.timezone, timezone: defaultConnectionConfig.timezone,
ncMin: !!process.env.NC_MIN, ncMin: !!process.env.NC_MIN,
teleEnabled: !process.env.NC_DISABLE_TELE, teleEnabled: !process.env.NC_DISABLE_TELE,
auditEnabled: !process.env.NC_DISABLE_AUDIT,
ncSiteUrl: (req as any).ncSiteUrl, ncSiteUrl: (req as any).ncSiteUrl,
ee: Noco.isEE(), ee: Noco.isEE(),
ncAttachmentFieldSize: NC_ATTACHMENT_FIELD_SIZE, ncAttachmentFieldSize: NC_ATTACHMENT_FIELD_SIZE,

Loading…
Cancel
Save