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

This commit is contained in:
yu-i-i
2026-07-17 18:00:23 +02:00
parent a9b79d4a34
commit 9e0bc1e5a6
+9
View File
@@ -1199,6 +1199,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) {