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

11 lines
336 B
JavaScript
Raw Normal View History

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