Skip to content

can maxFileSize in config be changed after a while? #9195

Closed Answered by dcousens
AliEmili asked this question in Questions
Discussion options

You must be logged in to vote

At least for now, the config.server.maxFileSize configuration variable is only used by the graphql-upload express middleware. This currently only prevents particular uploads at runtime, and has no downstream effects.

const maxFileSize = config.server.maxFileSize
expressServer.use(graphqlUploadExpress({ maxFileSize }))

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dcousens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants