Miguel Serrano a3ec5b2797 Merge pull request #30018 from overleaf/msm-fix-esm-import il y a 10 mois
..
.nvmrc 6190005f9b [monorepo] Upgrade to node 22.18.0 (#27977) il y a 1 an
LICENSE 9c0dbbc5c8 Remove CoffeeScript il y a 5 ans
README.md 63520c7076 Merge pull request #16859 from overleaf/jpa-sharelatex-cleanup il y a 2 ans
Settings.js 7f48c67512 Add `prefer-node-protocol` ESLint rule (#21532) il y a 1 an
buildscript.txt 74efa0e345 Merge pull request #29898 from overleaf/gs-jenkins-issues-all-pipelines il y a 10 mois
index.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting il y a 4 ans
merge.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting il y a 4 ans
package.json 729e0f5ac9 move migrations to shared location (#28306) il y a 1 an
tsconfig.json 423c2a47e5 Merge pull request #28482 from overleaf/ar-move-notifications-changes-into-buildscripts il y a 1 an

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.