Skip to content

fix(api): allow uploading of large files

Dan Visel requested to merge uploading-issue into main

Ryan tried uploading a file that was 11.7Mb to Kotahi Dev and got an odd error:

Screenshot 2023-11-20 at 09.40.53.pngThis isn't actually a problem with XSweet as might be expected – that's an Axios error, `ERR_FR_MAX_BODY_LENGTH_EXCEEDED`. Adding a pair of lines in server/xsweet/graphql.js fixes this.

Merge request reports