overleaf/services/spelling/config/settings.defaults.cjs
Eric Mc Sween f6c1e2738d Merge pull request #10938 from overleaf/em-esm-spelling
Migrate spelling to ES modules

GitOrigin-RevId: 4a200c8d1c28be44027cc8a3097e42575ab6593f
2022-12-21 09:03:55 +00:00

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,
},
}