overleaf/services/filestore/app/js/PersistorManager.js

11 lines
334 B
JavaScript
Raw Normal View History

const settings = require('@overleaf/settings')
const persistorSettings = settings.filestore
persistorSettings.Metrics = require('@overleaf/metrics')
persistorSettings.paths = settings.path
2014-02-26 06:58:48 -05:00
const ObjectPersistor = require('@overleaf/object-persistor')
const persistor = ObjectPersistor(persistorSettings)
module.exports = persistor