This commit is contained in:
hailin 2025-06-26 12:07:16 +08:00
parent 4011b94d30
commit c6164443ae
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ export const uploadFile = async (
} }
) => { ) => {
const SIZE_LIMIT = parseInt( const SIZE_LIMIT = parseInt(
process.env.NEXT_PUBLIC_USER_FILE_SIZE_LIMIT || "10000000" process.env.NEXT_PUBLIC_USER_FILE_SIZE_LIMIT || "104857600"
) )
if (file.size > SIZE_LIMIT) { if (file.size > SIZE_LIMIT) {