Raise mobile upload limits
This commit is contained in:
@@ -214,7 +214,7 @@ const createSubmissionFromMultipart = async (
|
||||
export const buildServer = async () => {
|
||||
const app = Fastify({
|
||||
logger: true,
|
||||
bodyLimit: 25 * 1024 * 1024
|
||||
bodyLimit: 64 * 1024 * 1024
|
||||
});
|
||||
|
||||
const store = new StateStore(config.stateFile);
|
||||
@@ -265,7 +265,7 @@ export const buildServer = async () => {
|
||||
await app.register(multipart, {
|
||||
limits: {
|
||||
files: 1,
|
||||
fileSize: 25 * 1024 * 1024
|
||||
fileSize: 64 * 1024 * 1024
|
||||
}
|
||||
});
|
||||
await app.register(fastifyStatic, {
|
||||
|
||||
Reference in New Issue
Block a user