overleaf/services/spelling/config/settings.defaults.js
Jakob Ackermann 2465a32451 Merge pull request #6234 from overleaf/jpa-web-owns-spelling-preferences
[misc] move ownership of spellingPreferences collection to web

GitOrigin-RevId: f2584a1119a578c3df15371c6798923a4f2d15ae
2022-01-07 09:03:11 +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,
},
}