Closed noctera closed 1 year ago
This PR will fix issue vocascan/vocascan-frontend#142 to support custom file upload sizes.
just add the following property in you vocascan.config.js
server: { ... max_file_upload: '1mb', // 1kb, 1mb, 1gb },
I have added this variable setting to the /info route to make the value accessible for the client (more specific error messages)
Without this setting you couldn't import much vocabs, as the default limit was very small
vocascan/vocascan-fronten#142
Description
This PR will fix issue vocascan/vocascan-frontend#142 to support custom file upload sizes.
just add the following property in you vocascan.config.js
I have added this variable setting to the /info route to make the value accessible for the client (more specific error messages)
Motivation and Context
Without this setting you couldn't import much vocabs, as the default limit was very small
Screenshots / GIFs (if appropriate):
Checklist
Resolves
vocascan/vocascan-fronten#142