mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Fix error handling for large files (and endpoints called as non-json)
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user