Skip to content

Commit

Permalink
fix: increase file upload limit
Browse files Browse the repository at this point in the history
  • Loading branch information
logicflakes committed Apr 9, 2024
1 parent 5b3f8e6 commit b780d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ async function startApolloServer(typeDefs: any, resolvers: any) {
})

app.use(
bodyParser.json(),
bodyParser.json({limit: '10mb'}),
expressMiddleware(server)
)

Expand Down

0 comments on commit b780d75

Please sign in to comment.