default.js 267 B

123456789101112131415
  1. 'use strict';
  2. module.exports = {
  3. port: parseInt(process.env.PORT, 10) || 8001,
  4. url: 'mongodb://localhost:27017/elm',
  5. session: {
  6. name: 'SID',
  7. secret: 'SID',
  8. cookie: {
  9. httpOnly: true,
  10. secure: false,
  11. maxAge: 365 * 24 * 60 * 60 * 1000,
  12. }
  13. }
  14. }