From 9e3ac1e4906e7c70a12c207708eda86062aa1797 Mon Sep 17 00:00:00 2001 From: Maurice Date: Tue, 31 Mar 2026 22:58:27 +0200 Subject: [PATCH] fix: increase max trip duration from 90 to 365 days --- server/src/routes/trips.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/routes/trips.ts b/server/src/routes/trips.ts index 7145fc7..7ebce62 100644 --- a/server/src/routes/trips.ts +++ b/server/src/routes/trips.ts @@ -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');