|
|
@ -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, |
|
|
|