mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-08 06:59:26 +08:00
Merge branch 'next' into develop
This commit is contained in:
commit
dfa22eb23e
@ -96,6 +96,15 @@ export class PluginClientServer extends Plugin {
|
|||||||
if (process.env['EXPORT_LIMIT']) {
|
if (process.env['EXPORT_LIMIT']) {
|
||||||
info.exportLimit = parseInt(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;
|
ctx.body = info;
|
||||||
await next();
|
await next();
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user