overleaf/services/docstore/app/js/PersistorManager.js
2020-07-23 19:42:49 +01:00

9 lines
295 B
JavaScript

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