mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-12 12:01:39 -05:00
a540754f6e
[misc] bulk replace localhost with 127.0.0.1 GitOrigin-RevId: d238f3635302e8ff5500d611108c4d1bef216726
34 lines
670 B
JavaScript
34 lines
670 B
JavaScript
const Path = require('path')
|
|
|
|
module.exports = {
|
|
internal: {
|
|
spelling: {
|
|
port: 3005,
|
|
host: process.env.LISTEN_ADDRESS || '127.0.0.1',
|
|
},
|
|
},
|
|
|
|
maxRequestsPerWorker:
|
|
parseInt(process.env.MAX_REQUESTS_PER_WORKER, 10) || 100 * 1024,
|
|
|
|
cacheDir: Path.resolve('cache'),
|
|
|
|
healthCheckUserId: '53c64d2fd68c8d000010bb5f',
|
|
|
|
ignoredMisspellings: process.env.IGNORED_MISSPELLINGS
|
|
? process.env.IGNORED_MISSPELLINGS.split(',')
|
|
: [
|
|
'Overleaf',
|
|
'overleaf',
|
|
'ShareLaTeX',
|
|
'sharelatex',
|
|
'LaTeX',
|
|
'http',
|
|
'https',
|
|
'www',
|
|
],
|
|
|
|
sentry: {
|
|
dsn: process.env.SENTRY_DSN,
|
|
},
|
|
}
|