dev mode history

This commit is contained in:
Philipinho
2026-01-31 22:46:21 +00:00
parent edd3754e46
commit e189d01ce0
@@ -25,7 +25,7 @@ export class HistoryListener {
const pageCreationTime = new Date(page.createdAt).getTime();
const currentTime = Date.now();
const FIVE_MINUTES = this.environmentService.isDevelopment()
? 30 * 1000
? 60 * 1000
: 5 * 60 * 1000;
if (currentTime - pageCreationTime < FIVE_MINUTES) {