3 // For mail sending. NOTE: *no trailing slash*
4 siteURL: "http://localhost:8080",
6 // To know in which environment the code run
7 env: process.env.NODE_ENV || 'development',
9 // CORS: cross-origin resource sharing options
12 allowedOrigin: "http://localhost:8080",
15 // Lifespan of a (login) cookie
16 cookieExpire: 183*24*60*60*1000, //6 months in milliseconds
18 // Characters in a login token, and period of validity (in milliseconds)
21 expire: 30*60*1000, //30 minutes in milliseconds
26 host: "mail_host_address",
27 port: 465, //if secure; otherwise use 587
28 secure: true, //...or false
29 user: "mail_user_name",
30 pass: "mail_password",
31 noreply: "some_noreply_email",
32 contact: "some_contact_email",
35 // IDs of users allowed to post news and edit any problem