mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
Increase the max file size for Functions code editor to 20MB (#41005)
fix: increase max file size in function code editor to 20mb
This commit is contained in:
1 parent
73c834001c
commit
380dfbc91d
1 file changed
+4
-1
@@ -33,7 +33,10 @@ export async function getEdgeFunctionBody(
|
||||
|
||||
if (!data || !boundary) return { files: [] }
|
||||
|
||||
for await (let part of parseMultipartStream(data, { boundary })) {
|
||||
for await (let part of parseMultipartStream(data, {
|
||||
boundary,
|
||||
maxFileSize: 20 * 1024 * 1024,
|
||||
})) {
|
||||
if (part.isFile) {
|
||||
files.push({
|
||||
name: part.filename,
|
||||
|
||||
Reference in new issue
Block a user