settings.defaults.cjs 576 B

12345678910111213141516171819202122232425262728293031
  1. const Path = require('path')
  2. module.exports = {
  3. internal: {
  4. spelling: {
  5. port: 3005,
  6. host: process.env.LISTEN_ADDRESS || 'localhost',
  7. },
  8. },
  9. cacheDir: Path.resolve('cache'),
  10. healthCheckUserId: '53c64d2fd68c8d000010bb5f',
  11. ignoredMisspellings: process.env.IGNORED_MISSPELLINGS
  12. ? process.env.IGNORED_MISSPELLINGS.split(',')
  13. : [
  14. 'Overleaf',
  15. 'overleaf',
  16. 'ShareLaTeX',
  17. 'sharelatex',
  18. 'LaTeX',
  19. 'http',
  20. 'https',
  21. 'www',
  22. ],
  23. sentry: {
  24. dsn: process.env.SENTRY_DSN,
  25. },
  26. }