mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 18:23:32 -05: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
|