mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 09:54:17 +02:00
update demo size in api
This commit is contained in:
parent
0468aa1e84
commit
d8598de9cc
1 changed files with 2 additions and 2 deletions
|
|
@ -93,8 +93,8 @@ class UploadProvider extends BaseProvider {
|
|||
return 'Demos needs to be at least 1KB is size';
|
||||
}
|
||||
|
||||
if ($size > 100 * 1024 * 1024) {
|
||||
return 'Demos cant be more than 100MB in size';
|
||||
if ($size > 150 * 1024 * 1024) {
|
||||
return 'Demos cant be more than 150MB in size';
|
||||
}
|
||||
|
||||
if ($header->getDuration() > (60 * 60)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue