mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-27 00:10:49 +00:00
6c853de5d5
* Migrate to new object-persistor module * Support updated persistor module using ES6 classes * Update object-persistor * Upgrade new persistor code to OError3 * Update to latest minor release for outdated packages * Update package hashes to sha512 * Point object-persistor at master branch
10 lines
336 B
JavaScript
10 lines
336 B
JavaScript
const settings = require('settings-sharelatex')
|
|
|
|
const persistorSettings = settings.filestore
|
|
persistorSettings.Metrics = require('metrics-sharelatex')
|
|
persistorSettings.paths = settings.path
|
|
|
|
const ObjectPersistor = require('@overleaf/object-persistor')
|
|
const persistor = ObjectPersistor(persistorSettings)
|
|
|
|
module.exports = persistor
|