mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Add env variable to enable restoring project/file from history snapshot
This commit is contained in:
@@ -1170,6 +1170,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) {
|
module.exports.mergeWith = function (overrides) {
|
||||||
|
|||||||
Reference in New Issue
Block a user