mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
allow longer demos
This commit is contained in:
parent
a49614765f
commit
b4b7c4142f
2 changed files with 3 additions and 3 deletions
|
|
@ -106,8 +106,8 @@ class UploadProvider extends BaseProvider {
|
|||
return 'Demos cant be more than 200MB in size';
|
||||
}
|
||||
|
||||
if ($header->getDuration() > (60 * 60)) {
|
||||
return 'Demos cant be longer than one hour';
|
||||
if ($header->getDuration() > (90 * 60)) {
|
||||
return 'Demos cant be longer than one and a half hour';
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue