mirror of https://github.com/nocodb/nocodb
Browse Source
fix(test): Made default file field size limit to 20MB and is configurable using NC_ATTACHMENT_FIELD_SIZE env variablepull/3668/head
Muhammed Mustafa
2 years ago
committed by
GitHub
12 changed files with 63 additions and 3 deletions
@ -1,2 +1,4 @@ |
|||||||
export const NC_LICENSE_KEY = 'nc-license-key'; |
export const NC_LICENSE_KEY = 'nc-license-key'; |
||||||
export const NC_APP_SETTINGS = 'nc-app-settings'; |
export const NC_APP_SETTINGS = 'nc-app-settings'; |
||||||
|
export const NC_ATTACHMENT_FIELD_SIZE = |
||||||
|
+process.env['NC_ATTACHMENT_FIELD_SIZE'] || 20 * 1024 * 1024; // 20 MB
|
||||||
|
After Width: | Height: | Size: 2.2 MiB |
Loading…
Reference in new issue