fix: increase max trip duration from 90 to 365 days
This commit is contained in:
@@ -12,7 +12,7 @@ import { writeAudit, getClientIp, logInfo } from '../services/auditLog';
|
|||||||
const router = express.Router();
|
const router = express.Router();
|
||||||
|
|
||||||
const MS_PER_DAY = 86400000;
|
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 MAX_COVER_SIZE = 20 * 1024 * 1024; // 20 MB
|
||||||
|
|
||||||
const coversDir = path.join(__dirname, '../../uploads/covers');
|
const coversDir = path.join(__dirname, '../../uploads/covers');
|
||||||
|
|||||||
Reference in New Issue
Block a user