overleaf/libraries/settings
Jakob Ackermann 5e9498c528 Merge pull request #14280 from overleaf/jpa-latest-node-18
[misc] upgrade Node.js to latest version of 18, 18.17.1

GitOrigin-RevId: 58328bbd630686877c0db6266593ef186851bcc5
2023-08-15 08:03:33 +00:00
..
.dockerignore
.gitignore Merge pull request #14138 from overleaf/bg-em-jpa-mj-node-18 2023-08-03 08:03:56 +00:00
.nvmrc Merge pull request #14280 from overleaf/jpa-latest-node-18 2023-08-15 08:03:33 +00:00
buildscript.txt Merge pull request #14280 from overleaf/jpa-latest-node-18 2023-08-15 08:03:33 +00:00
index.js Merge pull request #6132 from overleaf/jpa-settings-linting 2021-12-17 09:03:15 +00:00
LICENSE
merge.js Merge pull request #6132 from overleaf/jpa-settings-linting 2021-12-17 09:03:15 +00:00
package.json Merge pull request #6542 from overleaf/jpa-em-code-sharing-workspaces 2022-02-16 11:31:07 +00:00
README.md
Settings.js Merge pull request #10815 from overleaf/em-esm-chat 2022-12-14 09:03:03 +00:00

@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 SHARELATEX_CONFIG environment variable. E.g.

$ export SHARELATEX_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.