Fix error handling for large files (and endpoints called as non-json)
This commit is contained in:
parent
7f2b477538
commit
f9878d842c
4 changed files with 21 additions and 12 deletions
|
@ -172,7 +172,7 @@ return [
|
|||
| This array includes the MIME filetypes that can be edited via the web.
|
||||
*/
|
||||
'files' => [
|
||||
'max_edit_size' => env('PTERODACTYL_FILES_MAX_EDIT_SIZE', 50000),
|
||||
'max_edit_size' => env('PTERODACTYL_FILES_MAX_EDIT_SIZE', 1024 * 512),
|
||||
'editable' => [
|
||||
'application/json',
|
||||
'application/javascript',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue