overleaf/services/docstore/app/js/PersistorManager.js
2020-09-10 18:07:14 +01:00

9 lines
294 B
JavaScript

const settings = require('settings-sharelatex')
const persistorSettings = settings.docstore
persistorSettings.Metrics = require('@overleaf/metrics')
const ObjectPersistor = require('@overleaf/object-persistor')
const persistor = ObjectPersistor(persistorSettings)
module.exports = persistor