Andrew Rumble 1a1f283245 Update node to 22.17.0 1 жил өмнө
..
test d227dfba0c Merge pull request #16393 from overleaf/em-typescript-libraries 2 жил өмнө
.nvmrc 1a1f283245 Update node to 22.17.0 1 жил өмнө
LICENSE 9c0dbbc5c8 Remove CoffeeScript 5 жил өмнө
README.md 63520c7076 Merge pull request #16859 from overleaf/jpa-sharelatex-cleanup 2 жил өмнө
Settings.js 7f48c67512 Add `prefer-node-protocol` ESLint rule (#21532) 1 жил өмнө
buildscript.txt 1a1f283245 Update node to 22.17.0 1 жил өмнө
index.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting 4 жил өмнө
merge.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting 4 жил өмнө
package.json 767591973c Merge pull request #23905 from overleaf/ar-mocha-11 1 жил өмнө
tsconfig.json e87df4a791 Merge pull request #18167 from overleaf/em-simpler-typescript-backend 2 жил өмнө

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.