1
0
Fork 0
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:
Robin Appelman 2024-03-26 19:48:24 +01:00
commit b4b7c4142f
2 changed files with 3 additions and 3 deletions

View file

@ -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;