X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=server%2Fconfig%2Fparameters.js.dist;h=b7abc139193431d806d0b1f1f7b894c3bb4be6de;hb=73d6f37abacf5444940281bd14608d04a198d6eb;hp=c19084111ccd0d70227e8494b9af213e7416e766;hpb=0234201fb338fc239d6f613c677fa932c7c3697c;p=vchess.git diff --git a/server/config/parameters.js.dist b/server/config/parameters.js.dist index c1908411..b7abc139 100644 --- a/server/config/parameters.js.dist +++ b/server/config/parameters.js.dist @@ -1,10 +1,11 @@ module.exports = { + // For mail sending. NOTE: *no trailing slash* siteURL: "http://localhost:8080", // To know in which environment the code run env: process.env.NODE_ENV || 'development', - + // CORS: cross-origin resource sharing options cors: { enable: true, @@ -20,6 +21,9 @@ module.exports = { expire: 30*60*1000, //30 minutes in milliseconds }, + // Path to tournament repository (to synchronize DBs) + tourneyPath: "/path/to/folder", + // Email settings mail: { host: "mail_host_address", @@ -30,4 +34,8 @@ module.exports = { noreply: "some_noreply_email", contact: "some_contact_email", }, + + // IDs of users allowed to post news and edit any problem + devs: [] + };