mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
f6c1e2738d
Migrate spelling to ES modules GitOrigin-RevId: 4a200c8d1c28be44027cc8a3097e42575ab6593f
31 lines
576 B
JavaScript
31 lines
576 B
JavaScript
const Path = require('path')
|
|
|
|
module.exports = {
|
|
internal: {
|
|
spelling: {
|
|
port: 3005,
|
|
host: process.env.LISTEN_ADDRESS || 'localhost',
|
|
},
|
|
},
|
|
|
|
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,
|
|
},
|
|
}
|