diff options
author | Christoph (Sheogorath) Kern | 2018-03-29 19:40:38 +0200 |
---|---|---|
committer | GitHub | 2018-03-29 19:40:38 +0200 |
commit | a9a057723021ac4833ae665d0321c03564281b9e (patch) | |
tree | 9ab2c1523b02578838ef85d1465cfee784bf98c2 /lib/config | |
parent | d2cce7638a78ca7616607217b179c15915452058 (diff) | |
parent | 30b5ff0d96a25ef21cccaebd242ef69b7c4a84d1 (diff) |
Merge pull request #789 from SISheogorath/fix/sessionSecretEnv
Add session data to env vars
Diffstat (limited to '')
-rw-r--r-- | lib/config/environment.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/config/environment.js b/lib/config/environment.js index cab3bc3e..3dde4786 100644 --- a/lib/config/environment.js +++ b/lib/config/environment.js @@ -26,6 +26,8 @@ module.exports = { allowFreeURL: toBooleanConfig(process.env.HMD_ALLOW_FREEURL), defaultPermission: process.env.HMD_DEFAULT_PERMISSION, dbURL: process.env.HMD_DB_URL, + sessionSecret: process.env.HMD_SESSION_SECRET, + sessionLife: toIntegerConfig(process.env.HMD_SESSION_LIFE), imageUploadType: process.env.HMD_IMAGE_UPLOAD_TYPE, imgur: { clientID: process.env.HMD_IMGUR_CLIENTID |