mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 19:11:56 +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
|