Raise mobile upload limits

This commit is contained in:
2026-04-09 22:53:14 -07:00
parent 08c9cc4efb
commit d90f8bd645
3 changed files with 16 additions and 3 deletions
+2 -2
View File
@@ -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, {