mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04: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
|