mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-07 18:56:26 +02:00
Up the default max file size limit
This commit is contained in:
parent
0da1cd5867
commit
b51350489f
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ const options = [
|
||||||
{
|
{
|
||||||
key: 'max_file_size',
|
key: 'max_file_size',
|
||||||
desc: 'Max file size in bytes for a file',
|
desc: 'Max file size in bytes for a file',
|
||||||
default: 1000000, //1MB
|
default: 10000000, //10MB
|
||||||
parser: parse_int,
|
parser: parse_int,
|
||||||
validators: [
|
validators: [
|
||||||
(x,raw) => !isNaN(x) || `${raw} is not a number`,
|
(x,raw) => !isNaN(x) || `${raw} is not a number`,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue