mirror of
https://github.com/nocobase/nocobase.git
synced 2026-09-24 16:02:20 +08:00
Merge branch 'next' into develop
This commit is contained in:
@@ -96,6 +96,15 @@ export class PluginClientServer extends Plugin {
|
||||
if (process.env['EXPORT_LIMIT']) {
|
||||
info.exportLimit = parseInt(process.env['EXPORT_LIMIT']);
|
||||
}
|
||||
|
||||
if (process.env['EXPORT_AUTO_MODE_THRESHOLD']) {
|
||||
info.exportAutoModeThreshold = parseInt(process.env['EXPORT_AUTO_MODE_THRESHOLD']);
|
||||
}
|
||||
|
||||
if (process.env['EXPORT_ATTACHMENTS_AUTO_MODE_THRESHOLD']) {
|
||||
info.exportAttachmentsAutoModeThreshold = parseInt(process.env['EXPORT_ATTACHMENTS_AUTO_MODE_THRESHOLD']);
|
||||
}
|
||||
|
||||
ctx.body = info;
|
||||
await next();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user