mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Add env variable to enable restoring project/file from history snapshot
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user