mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 17:10:51 +00:00
10 lines
334 B
JavaScript
10 lines
334 B
JavaScript
const settings = require('@overleaf/settings')
|
|
|
|
const persistorSettings = settings.filestore
|
|
persistorSettings.Metrics = require('@overleaf/metrics')
|
|
persistorSettings.paths = settings.path
|
|
|
|
const ObjectPersistor = require('@overleaf/object-persistor')
|
|
const persistor = ObjectPersistor(persistorSettings)
|
|
|
|
module.exports = persistor
|