Make the number of max entities per project configurable

This commit is contained in:
Christopher Schenk 2023-03-29 11:31:54 +02:00
parent d1d47b2767
commit 0c265db259

View file

@ -275,7 +275,7 @@ module.exports = {
robotsNoindex: process.env.ROBOTS_NOINDEX === 'true' || false,
maxEntitiesPerProject: 2000,
maxEntitiesPerProject: parseInt(process.env.MAX_ENTITIES_PER_PROJECT || '2000', 10),
maxUploadSize: 50 * 1024 * 1024, // 50 MB
multerOptions: {