Jakob Ackermann ab0199f238 [misc] migrate remaining references to our GCR repositories to AR (#26370) 1 год назад
..
test d227dfba0c Merge pull request #16393 from overleaf/em-typescript-libraries 2 лет назад
.nvmrc 436dcc977f Update Node to 22.15.1 (#25785) 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 ab0199f238 [misc] migrate remaining references to our GCR repositories to AR (#26370) 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.