-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
Cloud Functions 2nd gen allow requests with sizes up to 32MB according to the docs:
The current limit in the emulator though is 10MB:
firebase-tools/src/emulator/functionsEmulatorRuntime.ts
Lines 985 to 1010 in 8df102b
| app.use( | |
| bodyParser.json({ | |
| limit: "10mb", | |
| verify: rawBodySaver, | |
| }) | |
| ); | |
| app.use( | |
| bodyParser.text({ | |
| limit: "10mb", | |
| verify: rawBodySaver, | |
| }) | |
| ); | |
| app.use( | |
| bodyParser.urlencoded({ | |
| extended: true, | |
| limit: "10mb", | |
| verify: rawBodySaver, | |
| }) | |
| ); | |
| app.use( | |
| bodyParser.raw({ | |
| type: "*/*", | |
| limit: "10mb", | |
| verify: rawBodySaver, | |
| }) | |
| ); |