fix: increase max trip duration from 90 to 365 days

This commit is contained in:
Maurice
2026-03-31 22:58:27 +02:00
parent c38e70e244
commit 9e3ac1e490

View File

@@ -12,7 +12,7 @@ import { writeAudit, getClientIp, logInfo } from '../services/auditLog';
const router = express.Router();
const MS_PER_DAY = 86400000;
const MAX_TRIP_DAYS = 90;
const MAX_TRIP_DAYS = 365;
const MAX_COVER_SIZE = 20 * 1024 * 1024; // 20 MB
const coversDir = path.join(__dirname, '../../uploads/covers');