mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 14:43:06 +08:00
dev mode history
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user