This commit is contained in:
parent
4011b94d30
commit
c6164443ae
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue