3 // For mail sending. NOTE: *no trailing slash*
4 siteURL: "http://localhost:3000",
6 // To know in which environment the code run
7 env: process.env.NODE_ENV || 'development',
9 // Lifespan of a (login) cookie
10 cookieExpire: 183*24*60*60*1000, //6 months in milliseconds
12 // Characters in a login token, and period of validity (in milliseconds)
15 expire: 30*60*1000, //30 minutes in milliseconds
20 host: "mail_host_address",
21 port: 465, //if secure; otherwise use 587
22 secure: true, //...or false
23 user: "mail_user_name",
24 pass: "mail_password",
25 noreply: "some_noreply_email",
26 contact: "some_contact_email",