HackMD/lib/config
Sheogorath 30b5ff0d96
Add session data to env vars
Currently the session secret can only be set by config.json or docker
secrets. This creates a problem on Heroku hosted instances that can not
set a session secret.

Since we automatically generate them on startup this results in an
logout of all users on every config change in Heroku.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-03-29 19:34:32 +02:00
..
default.js Automatically generate a session secret if default is used 2018-03-26 00:36:28 +02:00
defaultSSL.js Rename forgotten values 2018-03-26 20:15:45 +02:00
dockerSecret.js Fix not passing app key correctly in dropbox config 2018-01-19 00:25:08 +08:00
enum.js refactor(config.js): Extract config file 2017-05-08 19:29:07 +08:00
environment.js Add session data to env vars 2018-03-29 19:34:32 +02:00
index.js Merge pull request #780 from SISheogorath/fix/sessionSecret 2018-03-28 12:25:01 +02:00
oldDefault.js Change config to camel case with backwards compatibility 2018-03-25 19:08:14 +02:00
oldEnvironment.js fix(config): ssl environment configs not parse properly 2017-05-08 20:41:38 +08:00
utils.js Add helper function to fix number problems 2018-03-16 20:37:59 +01:00