Add env variable to enable restoring project/file from history snapshot

This commit is contained in:
yu-i-i
2026-03-14 05:06:07 +01:00
parent 9b3b00a740
commit 8743cceadf

View File

@@ -1168,6 +1168,15 @@ module.exports = {
}),
},
splitTestOverrides: {
// new-fancy-feature': 'enabled',
...(process.env.OVERLEAF_HISTORY_RESTORE?.toLowerCase() === 'true' ? {
'history-ranges-support': 'enabled',
'revert-file': 'enabled',
'revert-project': 'enabled',
} : {}),
},
}
module.exports.mergeWith = function (overrides) {