X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=config%2Fparameters.js.dist;fp=config%2Fparameters.js.dist;h=0000000000000000000000000000000000000000;hp=6f274dd3e2224e2afb0041e10bc3ba210927da85;hb=625022fdcf750f0aff8fcd699f7e9b89730e1d10;hpb=b955c65b942d09d24b5c3bed0d755d4f2f8f71f1 diff --git a/config/parameters.js.dist b/config/parameters.js.dist deleted file mode 100644 index 6f274dd3..00000000 --- a/config/parameters.js.dist +++ /dev/null @@ -1,28 +0,0 @@ -module.exports = -{ - // For mail sending. NOTE: *no trailing slash* - siteURL: "http://localhost:3000", - - // To know in which environment the code run - env: process.env.NODE_ENV || 'development', - - // Lifespan of a (login) cookie - cookieExpire: 183*24*60*60*1000, //6 months in milliseconds - - // Characters in a login token, and period of validity (in milliseconds) - token: { - length: 16, - expire: 30*60*1000, //30 minutes in milliseconds - }, - - // Email settings - mail: { - host: "mail_host_address", - port: 465, //if secure; otherwise use 587 - secure: true, //...or false - user: "mail_user_name", - pass: "mail_password", - noreply: "some_noreply_email", - contact: "some_contact_email", - }, -};