mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
baaf376128
mongojs was enabling it by default as well.
28 lines
558 B
JavaScript
28 lines
558 B
JavaScript
const Path = require('path')
|
|
|
|
module.exports = {
|
|
internal: {
|
|
spelling: {
|
|
port: 3005,
|
|
host: process.env.LISTEN_ADDRESS || 'localhost'
|
|
}
|
|
},
|
|
|
|
mongo: {
|
|
options: {
|
|
useUnifiedTopology:
|
|
(process.env.MONGO_USE_UNIFIED_TOPOLOGY || 'true') === 'true'
|
|
},
|
|
url:
|
|
process.env.MONGO_CONNECTION_STRING ||
|
|
`mongodb://${process.env.MONGO_HOST || 'localhost'}/sharelatex`
|
|
},
|
|
|
|
cacheDir: Path.resolve('cache'),
|
|
|
|
healthCheckUserId: '53c64d2fd68c8d000010bb5f',
|
|
|
|
sentry: {
|
|
dsn: process.env.SENTRY_DSN
|
|
}
|
|
}
|