Andrew Rumble 6190005f9b [monorepo] Upgrade to node 22.18.0 (#27977) hai 11 meses
..
test d227dfba0c Merge pull request #16393 from overleaf/em-typescript-libraries %!s(int64=2) %!d(string=hai) anos
.nvmrc 6190005f9b [monorepo] Upgrade to node 22.18.0 (#27977) hai 11 meses
LICENSE 9c0dbbc5c8 Remove CoffeeScript %!s(int64=5) %!d(string=hai) anos
README.md 63520c7076 Merge pull request #16859 from overleaf/jpa-sharelatex-cleanup %!s(int64=2) %!d(string=hai) anos
Settings.js 7f48c67512 Add `prefer-node-protocol` ESLint rule (#21532) hai 1 ano
buildscript.txt 6190005f9b [monorepo] Upgrade to node 22.18.0 (#27977) hai 11 meses
index.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting %!s(int64=4) %!d(string=hai) anos
merge.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting %!s(int64=4) %!d(string=hai) anos
package.json 767591973c Merge pull request #23905 from overleaf/ar-mocha-11 hai 1 ano
tsconfig.json e87df4a791 Merge pull request #18167 from overleaf/em-simpler-typescript-backend %!s(int64=2) %!d(string=hai) anos

README.md

@overleaf/settings

A small module to allow global config settings to be set for all services within the Overleaf architecture.

Settings file location

You can specify a custom location for the settings file by setting the OVERLEAF_CONFIG environment variable. E.g.

$ export OVERLEAF_CONFIG=/home/james/config/settings.development.js

Otherwise, the settings will be loaded from config/settings.NODE_ENV.js, where NODE_ENV is another environment variable, or defaults to development.

The config directory is first looked for in the current directory, and then relative to the settings module directory.